paper.js/test/assets/gradients-3.svg

18 lines
658 B
XML
Raw Normal View History

<!-- 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>