class js.html.svg.MaskElement extends Element

Available on js

The SVGMaskElement interface provides access to the properties of <mask> elements, as well as methods to manipulate them.

Documentation for this class was provided by MDN.

Instance Fields

var height:AnimatedLength

Corresponds to attribute height on the given <mask> element.

var maskContentUnits:AnimatedEnumeration

Corresponds to attribute maskContentUnits on the given <mask> element. Takes one of the constants defined in SVGUnitTypes

var maskUnits:AnimatedEnumeration

Corresponds to attribute maskUnits on the given <mask> element. Takes one of the constants defined in SVGUnitTypes

var width:AnimatedLength

Corresponds to attribute width on the given <mask> element.