<svg width="8cm" height="4cm">
<desc>Example lingrad01 - fill a rectangle using a linear gradient paint server</desc>
<g>
<defs>
<linearGradient id="MyGradient">
<stop offset="5%" style="stop-color:#F60"/>
<stop offset="95%" style="stop-color:#FF6"/>
</linearGradient>
</defs>
<rect style="fill:none; stroke:blue" x=".01cm" y=".01cm" width="7.98cm" height="3.98cm"/>
<rect style="fill:url(#MyGradient); stroke:black" x="1cm" y="1cm" width="6cm" height="2cm"/>
</g>
</svg>
