SVG clipPath DOM interface
The SVGClipPathElement
interface provides access to the properties of {{ SVGElement("clipPath") }} elements, as well as methods to manipulate them.
Interface overview
Also implement | {{ domxref("SVGElement") }}, {{ domxref("SVGTests") }}, {{ domxref("SVGLangSpace") }}, {{ domxref("SVGExternalResourcesRequired") }}, {{ domxref("SVGStylable") }}, {{ domxref("SVGTransformable") }}, {{ domxref("SVGUnitTypes") }} |
Methods | None |
Properties | - readonly {{ domxref("SVGAnimatedEnumeration") }}
clipPathUnits |
Normative document | SVG 1.1 (2nd Edition) |
Properties
Name | Type | Description |
clipPathUnits | {{ domxref("SVGAnimatedEnumeration") }} | Corresponds to attribute {{ SVGAttr("clipPathUnits") }} on the given {{ SVGElement("clipPath") }} element. Takes one of the constants defined in {{ domxref("SVGUnitTypes") }} |
Methods
The SVGClipPathElement
interface do not provide any specific methods.
Browser compatibility
{{ CompatibilityTable() }}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
Basic support | {{ CompatVersionUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatVersionUnknown() }} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
Basic support | {{ CompatNo() }} | {{ CompatVersionUnknown() }} | {{ CompatUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatVersionUnknown() }} |
See also
- {{ SVGElement("clipPath") }} SVG Element