summaryrefslogtreecommitdiff
path: root/test/SVG/rad-gradient.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/SVG/rad-gradient.xml')
-rwxr-xr-xtest/SVG/rad-gradient.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/SVG/rad-gradient.xml b/test/SVG/rad-gradient.xml
new file mode 100755
index 0000000..9ad7683
--- /dev/null
+++ b/test/SVG/rad-gradient.xml
@@ -0,0 +1,17 @@
+<?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>