Class LinearGradient
Linear gradient that interpolates colors along a straight line between two points; use for directional fills like fades and bands.
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class LinearGradient : Gradient, IEquatable<ColorBase>, IInstanceIdOwner, IGradient, IPatternColor
Constructors
LinearGradient(Point, Point)
Creates a linear gradient between the specified start and end points.
Declaration
public LinearGradient(Point startPoint, Point endPoint)
Parameters
|
System.Windows.Point
startPoint
The starting point coordinates where the gradient begins. |
|
System.Windows.Point
endPoint
The ending point coordinates where the gradient ends. |
Methods
Equals(ColorBase)
Compares this linear gradient with another color for value equality.
Declaration
public override bool Equals(ColorBase other)
Parameters
|
ColorBase
other
The other color to compare. |
Returns
|
System.Boolean
True if both represent equivalent linear gradients; otherwise, false. |