summaryrefslogtreecommitdiffstatsci
path: root/tests/data/gradient-stop.svg
blob: 7ec420954fdc8b6ce23291adba920e2e55e921ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<svg
  viewBox="0 0 10 10"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <linearGradient id="myGradient" gradientTransform="rotate(10)">
      <stop offset="5%" stop-color="gold" />
      <stop offset="95%" stop-color="red" />
    </linearGradient>
  </defs>

  <!-- using my linear gradient -->
  <circle cx="5" cy="5" r="4" fill="url(#myGradient)" />
</svg>