File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / result / SVG / rad-gradient.xml
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:38:02 2012 UTC (12 years, 4 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

    1: <?xml version="1.0" standalone="no"?>
    2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
    3: <svg width="4in" height="3in">
    4:   <desc>Radial gradient example with three gradient stops
    5:   </desc>
    6:   <g>
    7:     <defs>
    8:       <radialgradient id="MyGradient">
    9:         <gradientstop offset="0%" color="white"/>
   10:         <gradientstop offset="50%" color="red"/>
   11:         <gradientstop offset="100%" color="black"/>
   12:       </radialgradient>
   13:     </defs>
   14:     <circle style="fill: url(#MyGradient)" r="42"/>
   15:   </g>
   16: </svg>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>