Class Gradient
Represents base class for gradient color.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public abstract class Gradient : PatternColor, IEquatable<ColorBase>, IInstanceIdOwner, IGradient, IPatternColor
Constructors
Gradient(Point, Point)
Initializes a new instance of the Gradient class.
Declaration
public Gradient(Point startPoint, Point endPoint)
Parameters
System.Windows.Point
startPoint
|
System.Windows.Point
endPoint
|
Gradient(Point, Point, IPosition)
Initializes a new instance of the Gradient class.
Declaration
public Gradient(Point startPoint, Point endPoint, IPosition position)
Parameters
System.Windows.Point
startPoint
The start point. |
System.Windows.Point
endPoint
The end point. |
IPosition
position
The position. |
Properties
Background
Gets or sets the background color.
Declaration
public ColorBase Background { get; set; }
Property Value
ColorBase
The background color. |
EndPoint
Gets or sets the end point.
Declaration
public Point EndPoint { get; set; }
Property Value
System.Windows.Point
The end point. |
ExtendAfter
Specifies if the gradient should extends after the end point.
Declaration
public bool ExtendAfter { get; set; }
Property Value
System.Boolean
True to extend. |
ExtendBefore
Specifies if the gradient should extends before the start point.
Declaration
public bool ExtendBefore { get; set; }
Property Value
System.Boolean
The extend before. |
GradientStops
Gets the gradient stops.
Declaration
public GradientStopCollection GradientStops { get; }
Property Value
GradientStopCollection
The gradient stops. |
Position
Gets or sets the position.
Declaration
public override IPosition Position { get; set; }
Property Value
IPosition
The position. |
Overrides
StartPoint
Gets or sets the start point.
Declaration
public Point StartPoint { get; set; }
Property Value
System.Windows.Point
The start point. |
Methods
Equals(ColorBase)
Equalses the specified other.
Declaration
public override bool Equals(ColorBase other)
Parameters
ColorBase
other
The other. |
Returns
System.Boolean
|