string
The type of gradient. Use "linear"
for a linear gradient.
string
Array<GradientStop>
An array of gradient stops defining the gradient color sequence.
number
The starting x-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 0
number
The ending x-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 1
number
The starting y-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 0
number
The ending y-coordinate, in normalized [0, 1] coordinates, of the linear gradient.
Default value: 0