The SVGMaskElement interface provides access to the properties of <mask> elements, as well as methods to manipulate them.
This interface also inherits properties from its parent, SVGElement.
SVGMaskElement.maskUnits Read onlyAn SVGAnimatedEnumeration corresponding to the maskUnits attribute of the given <mask> element. Takes one of the constants defined in SVGUnitTypes.
SVGMaskElement.maskContentUnits Read onlyAn SVGAnimatedEnumeration corresponding to the maskContentUnits attribute of the given <mask> element. Takes one of the constants defined in SVGUnitTypes.
SVGMaskElement.x Read onlyAn SVGAnimatedLength corresponding to the x attribute of the given <mask> element.
SVGMaskElement.y Read onlyAn SVGAnimatedLength corresponding to the y attribute of the given <mask> element.
SVGMaskElement.width Read onlyAn SVGAnimatedLength corresponding to the width attribute of the given <mask> element.
SVGMaskElement.height Read onlyAn SVGAnimatedLength corresponding to the height attribute of the given <mask> element.
This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGElement.