Represents a gradient color stop.
Defines a gradient color stop with a color and a stop position.
- ‘color’: The color value.
- ‘stop’: The relative position of the color within the gradient in the range [0, 1].
Properties#
Property | Type | Description |
---|---|---|
color | Color | A color value within a gradient. |
stop | number | The relative position of the color within the gradient in the range [0, 1]. |