Class: LinearGradient

html.LinearGradient

Class representing a linear color gradient consisting of html.GradientStop elements.

new html.LinearGradient ()

Properties:
Name Type Description
angle number

(default: 0) The rotation angle of the gradient in degrees.

expression string

[readonly] The gradient expression string.

Extends