Search
Loading...
Skip to content

Interface: GradientColorStop

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#

PropertyTypeDescription
colorColorA color value within a gradient.
stopnumberThe relative position of the color within the gradient in the range [0, 1].