1 <?xml version=
"1.0" standalone=
"no"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg viewBox=
"0 0 820 320" version=
"1.1" xmlns=
"http://www.w3.org/2000/svg">
5 <desc>Example mask01 - blue text masked with gradient against red background
8 <linearGradient id=
"Gradient" gradientUnits=
"userSpaceOnUse"
9 x1=
"0" y1=
"0" x2=
"800" y2=
"0">
10 <stop offset=
"0" stop-color=
"white" stop-opacity=
"1" /> <!-- this end is filled -->
11 <stop offset=
"1" stop-color=
"black" stop-opacity=
"1" />
14 <mask id=
"Mask" maskUnits=
"userSpaceOnUse"
15 x=
"0" y=
"0" width=
"800" height=
"300">
16 <rect x=
"0" y=
"0" width=
"800" height=
"300" fill=
"url(#Gradient)" />
18 <rect x=
"0" y=
"0" width=
"800" height=
"300" fill=
"#FF8080" />
19 <rect x=
"0" y=
"100" width=
"800" height=
"100" fill=
"blue" mask=
"url(#Mask)" />