Class GradientStop
Represents gradient stop.
Inheritance
System.Object
GradientStop
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class GradientStop : IGradientStop
Constructors
GradientStop(SimpleColor, Double)
Initializes a new instance of the GradientStop class.
Declaration
public GradientStop(SimpleColor color, double offset)
Parameters
SimpleColor
color
The color. |
System.Double
offset
The offset. This value can be between 0 and 1. |
Properties
Color
Offset
Gets the offset. The value can be between 0 and 1.
Declaration
public double Offset { get; }
Property Value
System.Double
The offset. |