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