paper.js/test/assets/gradients-2-.svg
2016-02-11 12:51:48 +01:00

11 lines
542 B
XML

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="220" height="300">
<defs>
<radialGradient id="grey_blue" cx="50%" cy="50%" r="50%" fx="50%" fy="50%" gradientUnits="userSpaceOnUse">
<stop offset="0%" style="stop-color:red;stop-opacity:0.8"/>
<stop offset="30%" style="stop-color:#0000ff;"/>
<stop offset="60%" style="stop-color:rgba(0,153,153,0.5);"/>
<stop offset="100%" style="stop-color:blue;stop-opacity:1"/>
</radialGradient>
</defs>
<ellipse cx="110" cy="150" rx="110" ry="150" style="fill:url(#grey_blue)"/>
</svg>