Function clipPath

    • Install a <clipPath> mirroring shape and return a url(#id) for use with the CSS clip-path property. shape must already be mounted in an SVG (the parent SVG is found via ownerSVGElement).

      Parameters

      Returns string