lasarus_compotents/bgrabitmap/test/testsvg/svg/26.3 rectangle gradient.svg

10 lines
474 B
XML

<svg height="110" width="400">
<defs>
<linearGradient id="grad1" x1="0%" y1="20%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:rgb(0,255,0);stop-opacity:1" />
<stop offset="50%" style="stop-color:rgb(0,255,255);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(255,0,255);stop-opacity:0.5" />
</linearGradient>
</defs>
<rect width="300" height="100" style="fill:url(#grad1);stroke-width:3;stroke:rgb(0,0,0)" />
</svg>