HelpBot Assistant

How can I help you?

LinearGradient

16 Mar 20261 minute to read

Represents a linear gradient configuration.

Properties

gradientColorStop GradientColorStopModel[]

The collection of color stops in the gradient.

x1 number

The x-coordinate of the gradient start point.

Defaults to 0

x2 number

The x-coordinate of the gradient end point.

Defaults to 1

y1 number

The y-coordinate of the gradient start point.

Defaults to 0

y2 number

The y-coordinate of the gradient end point.

Defaults to 1