Skip to main content
A color stop in a gradient, defined by its position in the range [0, 1] and the color at that position.

Fields

position

A color stop in a gradient, defined by its position in the range [0, 1] and the color at that position. Position of the stop along the gradient, where 0 is the start and 1 is the end.

color

Color at the specified position.