The mask SVG element specifies an alpha mask for compositing the current object into the background.
Use white to include in the mask and black to exclude from the mask.
Attributes
height
Specifies the height of the largest possible offscreen buffer.
Value
Default
maskConentUnits
Specifies the coordinate system for the contents of the mask.
Value
objectBoundingBox | userSpaceOnUse
Default
maskUnits
Specifies the coordinate system for attributes x, y, width, and height.
Value
objectBoundingBox | userSpaceOnUse
Default
width
Specifies the width of the largest possible offscreen buffer.
Value
Default
x
Specifies the x-axis coordinate of one corner of the rectangle for the largest possible offscreen buffer.
Value
Default
y
Specifies the y-axis coordinate of one corner of the rectangle for the largest possible offscreen buffer.
Value
Default
height
<length-percentage>
maskConentUnits
objectBoundingBox
userSpaceOnUse
maskUnits
objectBoundingBox
userSpaceOnUse
width
<length-percentage>
x
<length-percentage>
y
<length-percentage>
Internal
External