maskUnits attribute | maskUnits property

Gets the maskUnits attribute of the mask element.

Scalable Vector Graphics: Clipping, Masking and Compositing, Section 14.6.2Internet Explorer 9

 

Syntax

HTML
<element maskUnits="p" ... >

 

JavaScript
p = object.maskUnits

 

Property values

Type: Object

Defines the coordinate system for the x, y, width, and height attributes as one of the following constants that are defined in svgUnitTypes.

Standards information

Remarks

If you do not specify the maskUnits property, the effect is the same as if you specify a value of objectBoundingBox.

For more information, see the Scalable Vector Graphics (SVG) 1.0 Specification Object bounding box units section.

See also

SVGMaskElement

 

 

Show: