cairo/test/svg/gradient.4.lin-transform.svg
2022-12-28 13:22:00 +10:30

10 lines
362 B
XML

<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="grad" gradientTransform="rotate(45)">
<stop offset="0%" stop-color="blue" stop-opacity="1" />
<stop offset="100%" stop-color="red" stop-opacity="1" />
</linearGradient>
</defs>
<rect x="100" y="-900" width="800" height="800" fill="url(#grad)" />
</svg>