class js.html.svg.GradientElement extends Element

Available on js

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

Documentation for this class was provided by MDN.

Class Fields

static var SVG_SPREADMETHOD_PAD:Int

Corresponds to value pad.

static var SVG_SPREADMETHOD_REFLECT:Int

Corresponds to value reflect.

static var SVG_SPREADMETHOD_REPEAT:Int

Corresponds to value repeat.

static 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.

Instance Fields

var gradientTransform:AnimatedTransformList

Corresponds to attribute gradientTransform on the given element.

var gradientUnits:AnimatedEnumeration

Corresponds to attribute gradientUnits on the given element. Takes one of the constants defined in SVGUnitTypes .

var spreadMethod:AnimatedEnumeration

Corresponds to attribute spreadMethod on the given element. One of the Spread Method Types defined on this interface.