summaryrefslogtreecommitdiff
path: root/test/svg/doc.5.clip-object.svg
blob: 73291159016e5d8416ca9b79f15cc0395735e7ff (plain)
1
2
3
4
5
6
7
8
9
10
<svg  xmlns="http://www.w3.org/2000/svg" width="1000" height="1000">
  <clipPath id="clip" clipPathUnits="objectBoundingBox">
    <circle cx=".5" cy=".5" r=".5" />
  </clipPath>

  <rect x="100" y="-900" width="800" height="800"
        stroke="green" stroke-width="100"
        clip-path="url(#clip)" />

</svg>