[]
Represents a transition point in a gradient.
public class GradientStop
Initializes a new instance of the GradientStop class.
public GradientStop(Color color, float offset)
color System.Drawing.ColorThe color of this stop.
offset floatThe offset of ths stop.
Gets the color of this gradient stop.
public Color Color { get; }
Gets the location of this stop within the gradient vector. Valid values are from 0 (vector's start) to 1 (vector's end).
public float Offset { get; }