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.
|
System.
|
Gradient(Point, Point, IPosition)
Initializes a new instance of the Gradient class.
Declaration
public Gradient(Point startPoint, Point endPoint, IPosition position)
Parameters
System. The start point. |
System. The end point. |
IPosition
position
The position. |
Properties
Background
Gets or sets the background color.
Declaration
public ColorBase Background { get; set; }
Property Value
Color The background color. |
EndPoint
Gets or sets the end point.
Declaration
public Point EndPoint { get; set; }
Property Value
System. The end point. |
ExtendAfter
Specifies if the gradient should extends after the end point.
Declaration
public bool ExtendAfter { get; set; }
Property Value
System. True to extend. |
ExtendBefore
Specifies if the gradient should extends before the start point.
Declaration
public bool ExtendBefore { get; set; }
Property Value
System. The extend before. |
GradientStops
Gets the gradient stops.
Declaration
public GradientStopCollection GradientStops { get; }
Property Value
Gradient 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. The start point. |
Methods
Equals(ColorBase)
Equalses the specified other.
Declaration
public override bool Equals(ColorBase other)
Parameters
Color The other. |
Returns
System.
|