W3cubDocs

/Haxe JavaScript

GradientElement

package js.html.svg

extends ElementDOMElementNodeEventTarget

extended by LinearGradientElement, RadialGradientElement

Available on js

The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.

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

See also:

Static variables

staticinlineread onlySVG_SPREADMETHOD_PAD:Int = 1

staticinlineread onlySVG_SPREADMETHOD_REFLECT:Int = 2

staticinlineread onlySVG_SPREADMETHOD_REPEAT:Int = 3

staticinlineread onlySVG_SPREADMETHOD_UNKNOWN:Int = 0

Variables

read onlygradientTransform:AnimatedTransformList

Returns an SVGAnimatedTransformList corresponding to attribute gradientTransform on the given element.

read onlygradientUnits:AnimatedEnumeration

Returns an SVGAnimatedEnumeration corresponding to the gradientUnits attribute on the given element. Takes one of the constants defined in SVGUnitTypes.

read onlyhref:AnimatedString

read onlyspreadMethod:AnimatedEnumeration

Returns an SVGAnimatedEnumeration corresponding to attribute spreadMethod on the given element. One of the spread method types defined on this interface.

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