class js.html.svg.LinearGradientElement extends GradientElement

Available on js

The SVGLinearGradientElement interface corresponds to the <linearGradient> element.

Documentation for this class was provided by MDN.

Instance Fields

var x1:AnimatedLength

Corresponds to attribute x1 on the given <linearGradient> element.

var x2:AnimatedLength

Corresponds to attribute x2 on the given <linearGradient> element.

var y1:AnimatedLength

Corresponds to attribute y1 on the given <linearGradient> element.

var y2:AnimatedLength

Corresponds to attribute y2 on the given <linearGradient> element.