SVG
The SVGClipPathElement interface provides access to the properties of clipPath elements, as well as methods to manipulate them.
Instance properties
This interface also inherits properties from its parent, SVGElement.
- SVGClipPathElement.clipPathUnits
- : Returns an SVGAnimatedEnumeration corresponding to the clipPathUnits attribute of the associated clipPath element. Takes one of the constants defined in SVGUnitTypes.
- SVGClipPathElement.transform
- : Returns an SVGAnimatedTransformList corresponding to the transform attribute of the associated clipPath element.
Instance methods
This interface doesn't implement any specific methods, but inherits methods from its parent, SVGElement.
Specifications
Browser compatibility
See also
- clipPath
- Introduction to CSS clipping
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
