Skip to main content

ColorStop Constructors

Describes the location and color of a transition point in a gradient.
Name Parameters Description
ColorStop() none Initializes a new instance of the ColorStop class with the default settings.
ColorStop(Unit) value Initializes a new instance of the ColorStop class with the specified offset.
ColorStop(Double) value Initializes a new instance of the ColorStop class with the specified offset.
ColorStop(Color, Unit) color, value Initializes a new instance of the ColorStop class with the specified color and offset.
ColorStop(Color, Double) color, value Initializes a new instance of the ColorStop class with the specified color and offset.
ColorStop(Color) color Initializes a new instance of the ColorStop class with the specified color.
See Also