Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
maskUnits
a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft