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

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

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