Class GradientStop
Color stop used in a gradient, pairing a color with its normalized position.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class GradientStop : IGradientStop
Constructors
GradientStop(SimpleColor, Double)
Creates a GradientStop with the specified color and offset.
Declaration
public GradientStop(SimpleColor color, double offset)
Parameters
|
SimpleColor
color
The color at this gradient stop. |
|
System.Double
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
public SimpleColor Color { get; }
Property Value
|
SimpleColor
The stop color. |
Offset
Gets the normalized position of this stop in the gradient.
Declaration
public double Offset { get; }
Property Value
|
System.Double
The offset between 0.0 (start) and 1.0 (end). |