SVGClipPathElement
SVG clipPath DOM interface
The SVGClipPathElement
interface provides access to the properties of <clipPath>
elements, as well as methods to manipulate them.
Interface overview
Also implement | SVGElement , SVGTests , SVGLangSpace , SVGExternalResourcesRequired , SVGStylable , SVGTransformable , SVGUnitTypes |
---|---|
Methods | None |
Properties |
|
Normative document | SVG 1.1 (2nd Edition) |
Properties
Name | Type | Description |
---|---|---|
clipPathUnits |
SVGAnimatedEnumeration |
Corresponds to attribute clipPathUnits on the given <clipPath> element. Takes one of the constants defined in SVGUnitTypes |
Methods
The SVGClipPathElement
interface do not provide any specific methods.
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | Not supported | (Yes) | ? | (Yes) | (Yes) |
See also
<clipPath>
SVG Element
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/svgclippathelement