Haxe API Documentation
Back | Index
extern class js.html.svg.GradientElement
extends Element
Available in js
The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement .

Documentation for this class was provided by MDN.
var gradientTransform(default,null) : AnimatedTransformList
Corresponds to attribute gradientTransform on the given element.
var gradientUnits(default,null) : AnimatedEnumeration
Corresponds to attribute gradientUnits on the given element. Takes one of the constants defined in SVGUnitTypes .
var spreadMethod(default,null) : AnimatedEnumeration
Corresponds to attribute spreadMethod on the given element. One of the Spread Method Types defined on this interface.
static inline var SVG_SPREADMETHOD_PAD : Int
Corresponds to value pad.
static inline var SVG_SPREADMETHOD_REFLECT : Int
Corresponds to value reflect.
static inline var SVG_SPREADMETHOD_REPEAT : Int
Corresponds to value repeat.
static inline var SVG_SPREADMETHOD_UNKNOWN : Int
The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
Back | Index