ClassGradientStop
Class
Color stop used in a gradient, pairing a color with its normalized position.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
cs-api-definition
public class GradientStop
Inheritance: objectGradientStop
Constructors
GradientStop(SimpleColor, double)
Creates a GradientStop with the specified color and offset.
Declaration
cs-api-definition
public GradientStop(SimpleColor color, double offset)
Parameters
color
The color at this gradient stop.
offset
The position of this stop along the gradient, a value between 0.0 and 1.0.
Properties
Color
Gets the color associated with this stop.
Declaration
cs-api-definition
public SimpleColor Color { get; }
Property Value
The stop color.