Debian Codegraph @

testsuite/svg/renderer/radial-gradient3.svg

raw symbols SCIP
1 <?xml version="1.0" standalone="no"?>
2 <svg xmlns="http://www.w3.org/2000/svg"
3 width='300' height='200'
4 viewBox="0 0 300 200" >
5
6 <defs>
7 <radialGradient id="MyGradient" spreadMethod='pad'
8 gradientUnits='objectBoundingBox'
9 cx='0.5' cy='0.5' r='0.5'
10 fx='0.6' fy='0.6' fr='0.2'>
11 <stop offset="0" stop-color="green" />
12 <stop offset="0" stop-color="red" />
13 <stop offset="0.5" stop-color="red" />
14 <stop offset="0.5" stop-color="yellow" />
15 <stop offset="0.99" stop-color="yellow" />
16 <stop offset="1" stop-color="blue" />
17 </radialGradient>
18 </defs>
19
20 <!-- The rectangle is filled using a linear-gradient paint server -->
21 <rect fill="url(#MyGradient)"
22 stroke="black"
23 stroke-width="2"
24 x="50" y="50" width="200" height="100"/>
25 </svg>