ColorStopModel

12 Sep 20251 minute to read

Interface for a class ColorStop

Properties

color string

Defines the color to be used in the gradient.

offset string

Defines the gradient color begin and end in percentage.

opacity number

Defines the opacity to be used in the gradient.

style string

Defines the style of the color stop in the gradient element.