ColorStop

12 Sep 20251 minute to read

Specifies the color information for the gradient in the linear gauge.

Properties

color string

Specifies the color of the gradient.

Defaults to ‘#000000’

offset string

Specifies the offset of the gradient.

Defaults to ‘0%’

opacity number

Specifies the opacity of the gradient.

Defaults to 1

style string

Specifies the style of the gradient.

Defaults to ’’