object

GradientLinear

Described parameters required by gradient linear.

Properties
PropertyTypeRequired
classconstRequired
fromPointRequired
toPointRequired
stopsArray<GradientStop>Required
invertbooleanRequired

class

Required

Description

no description

Type

const

Value

constant: the value of this property must be equal to:

json
"gradientLinear"

from

Required

Description

no description

Type

Point

to

Required

Description

no description

Type

Point

stops

Required

Description

no description

Type

Array<GradientStop>

Value

minimum number of items: the minimum number of items for this array is: 1

invert

Required

Description

Flag describing if gradient has been inverted.

Type

boolean

Daruma Feedback