W3cubDocs

/Haxe JavaScript

MaskElement

package js.html.svg

extends ElementDOMElementNodeEventTarget

Available on js

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

Documentation SVGMaskElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

staticinlineread onlySVG_MASKTYPE_ALPHA:Int = 1

staticinlineread onlySVG_MASKTYPE_LUMINANCE:Int = 0

Variables

read onlyheight:AnimatedLength

An SVGAnimatedLength corresponding to the height attribute of the given mask element.

read onlymaskContentUnits:AnimatedEnumeration

An SVGAnimatedEnumeration corresponding to the maskContentUnits attribute of the given mask element. Takes one of the constants defined in SVGUnitTypes.

read onlymaskUnits:AnimatedEnumeration

An SVGAnimatedEnumeration corresponding to the maskUnits attribute of the given mask element. Takes one of the constants defined in SVGUnitTypes.

read onlywidth:AnimatedLength

An SVGAnimatedLength corresponding to the width attribute of the given mask element.

read onlyx:AnimatedLength

An SVGAnimatedLength corresponding to the x attribute of the given mask element.

read onlyy:AnimatedLength

An SVGAnimatedLength corresponding to the y attribute of the given mask element.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/MaskElement.html