maskUnits property

Gets the ISVGMaskElement::maskUnits attribute of the mask element.

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



HRESULT value = object.put_maskUnits(ISVGAnimatedEnumeration* v);HRESULT value = object.get_maskUnits(ISVGAnimatedEnumeration** p);

Property values

Type: Object

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

Standards information


If you do not specify the ISVGMaskElement::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