| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="600"> |
| 3 |
<defs> |
| 4 |
<linearGradient id="horizontal" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0"> |
| 5 |
<stop stop-color="lime" offset="0.0"/> |
| 6 |
<stop stop-color="lime" offset="0.5"/> |
| 7 |
<stop stop-color="blue" offset="0.5"/> |
| 8 |
<stop stop-color="blue" offset="1.0"/> |
| 9 |
</linearGradient> |
| 10 |
|
| 11 |
<linearGradient id="vertical" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="0" y2="1"> |
| 12 |
<stop stop-color="lime" offset="0.0"/> |
| 13 |
<stop stop-color="lime" offset="0.5"/> |
| 14 |
<stop stop-color="blue" offset="0.5"/> |
| 15 |
<stop stop-color="blue" offset="1.0"/> |
| 16 |
</linearGradient> |
| 17 |
</defs> |
| 18 |
|
| 19 |
<rect x="0" y="0" width="100%" height="100%" fill="white"/> |
| 20 |
|
| 21 |
<style type="text/css"> |
| 22 |
text { |
| 23 |
font: 50px Ahem; |
| 24 |
} |
| 25 |
</style> |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
<text id="a" x="50" y="100" fill="url(#horizontal)" stroke-width="2">XX</text> |
| 37 |
<text id="b" x="0" y="-10" fill="url(#horizontal)" transform="translate(200, 60) rotate(90)">XX</text> |
| 38 |
|
| 39 |
<text id="c" fill="url(#vertical)"> |
| 40 |
<tspan x="300" y="100">X</tspan> |
| 41 |
<tspan x="300" y="150">X</tspan> |
| 42 |
</text> |
| 43 |
|
| 44 |
<text id="d" fill="url(#vertical)" transform="translate(490, 110) rotate(-90)"> |
| 45 |
<tspan x="0" y="-50">X</tspan> |
| 46 |
<tspan x="0" y="0">X</tspan> |
| 47 |
</text> |
| 48 |
</svg> |