clipPathUnits attribute | clipPathUnits property
Gets or sets the given SVGClipPathElement element.
![]() ![]() |
Syntax
| HTML |
|---|
<element clipPathUnits="p" ... > |
| JavaScript |
|---|
p = object.clipPathUnits |
Property values
Type: Object
One of the values of the svgUnitTypes enumeration.
Standards information
- Scalable Vector Graphics: Clipping, Masking and Compositing, Section 14.6.1
Remarks
The clipPathUnits property provides the user coordinate system for the contents of the SVGClipPathElement element.
The default svgUnitTypes value of SVG_UNIT_TYPE_OBJECTBOUNDINGBOX means that the coordinate system is established by using the bounding box of the element that the clipping path is applied on.
See also
Show:

