<
svg id="svg-root"
width="450"
height="450" xmlns:xlink="
http://www.w3.org/1999/xlink" xmlns="
http://www.w3.org/2000/svg" >
<
title id="test-title">gradPatt-stop-BE-10</
title>
<
desc id="test-desc">Test that checks the capability of the stop opacity in linear and radial gradients.</
desc>
<
g id="test-body-content">
<
text style="
font-family:Helvetica;
font-size:80;
fill:cyan;"
x="10"
y="120">Background</
text>
<
linearGradient id="Grad1"
gradientUnits="objectBoundingBox"
x1="0"
y1="0"
x2="1"
y2="1">
<
stop style="
stop-color:violet;
stop-opacity:1;"
offset="0"/>
<
stop style="
stop-color:blue;
stop-opacity:0;"
offset="0.2"/>
<
stop style="
stop-color:lime;
stop-opacity:0.5;"
offset="0.4"/>
<
stop style="
stop-color:yellow;
stop-opacity:0.2;"
offset="0.6"/>
<
stop style="
stop-color:orange;
stop-opacity:0.8;"
offset="0.8"/>
<
stop style="
stop-color:red;
stop-opacity:1;"
offset="1"/>
</
linearGradient>
<
rect x="10"
y="10"
width="430"
height="150"
style="
fill:url(#Grad1);"/>
<
text style="
font-family:Helvetica;
font-size:12;"
x="10"
y="175">Multi-color linear gradient: violet, blue, lime, yellow, orange, red.</
text>
<
text style="
font-family:Helvetica;
font-size:12;"
x="10"
y="190">Opacity: 1, 0, 0.5, 0.2, 0.8, 1</
text>
<
text style="
font-family:Helvetica;
font-size:80;
fill:cyan;"
x="10"
y="310">Background</
text>
<
radialGradient id="Grad2"
gradientUnits="userSpaceOnUse"
cx="225"
cy="275"
r="220"
fx="225"
fy="275">
<
stop style="
stop-color:black;
stop-opacity:1;"
offset="0"/>
<
stop style="
stop-color:yellow;
stop-opacity:0;"
offset="0.2"/>
<
stop style="
stop-color:red;
stop-opacity:0.5;"
offset="0.4"/>
<
stop style="
stop-color:blue;
stop-opacity:0.2;"
offset="0.6"/>
<
stop style="
stop-color:white;
stop-opacity:0.8;"
offset="0.8"/>
<
stop style="
stop-color:green;
stop-opacity:1;"
offset="1"/>
</
radialGradient>
<
rect x="10"
y="200"
width="430"
height="150"
style="
fill:url(#Grad2);
stroke-width:40;"/>
<
text style="
font-family:Helvetica;
font-size:12;"
x="10"
y="365">Multi-color radial gradient : black, yellow, red, blue, white, green.</
text>
<
text style="
font-family:Helvetica;
font-size:12;"
x="10"
y="380">Opacity: 1, 0, 0.5, 0.2, 0.8, 1</
text>
</
g>
<
g id="test-legend"
style="
fill:black;
font-family:Helvetica;
font-size:10;">
<
rect x="10"
y="390"
width="275"
height="50"
style="
fill:none;
stroke:#000000;"/>
<
path style="
fill:none;
stroke:#000000;"
d="M10 405 h275 M205 405 v35 M10 426 h195 M205 422 h80"/>
<
text x="25"
y="401">Scalable Vector Graphics (SVG) Conformance Suite</
text>
<
a xlink:href="copyright-documents-19990405.html">
<
text x="12"
y="437"
style="
fill:blue;">Copyright 2000 W3C. All Rights Reserved.</
text>
</
a>
<
text style="
font-size:12;"
x="35"
y="420">gradPatt-stop-BE-10</
text>
<
text style="
font-size:10;"
x="210"
y="417">$Revision: 1.1 $</
text>
<
text style="
font-size:10;"
x="210"
y="435">Release 2.0</
text>
<
rect id="test-frame"
x="1"
y="1"
width="448"
height="448"
style="
fill:none;
stroke:#000000;"/>
</
g>
</
svg>