Skip to content

GradientStop structure

A single color stop in a gradient, consisting of an offset and a color.

public struct GradientStop
name description
GradientStop(…) A single color stop in a gradient, consisting of an offset and a color.
Color { get; } Gets the color at this stop.
Offset { get; } Gets the position of the stop in the gradient, in the range [0, 1].