Debian Codegraph @

testsuite/svg/renderer/radial-gradient4.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 r='0.5' fr='0'>
10 <stop offset="0" stop-color="red" />
11 <stop offset="0" stop-color="yellow" />
12 <stop offset="1" stop-color="yellow" />
13 <stop offset="1" stop-color="blue" />
14 </radialGradient>
15 </defs>
16
17 <!-- The rectangle is filled using a linear-gradient paint server -->
18 <circle stroke="url(#MyGradient)"
19 fill='none'
20 stroke-width="10"
21 cx="100" cy="100" r='50'/>
22 </svg>