mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
4f282cec4b
Add default values based on SVG specification document. Closes #1632
17 lines
658 B
XML
17 lines
658 B
XML
<!-- test gradient default values -->
|
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100" height="200">
|
|
<defs>
|
|
<!-- radial -->
|
|
<radialGradient id="gra-1">
|
|
<stop offset="0" stop-color="black"/>
|
|
<stop offset="1" stop-color="white"/>
|
|
</radialGradient>
|
|
<!-- linear -->
|
|
<linearGradient id="gra-2">
|
|
<stop offset="0" stop-color="black"/>
|
|
<stop offset="1" stop-color="white"/>
|
|
</linearGradient>
|
|
</defs>
|
|
<rect x="0" y="0" width="100" height="100" fill="url(#gra-1)"/>
|
|
<rect x="0" y="100" width="100" height="100" fill="url(#gra-2)"/>
|
|
</svg>
|