ClassLinearGradient
Class
Linear gradient that interpolates colors along a straight line between two points; use for directional fills like fades and bands.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
cs-api-definition
public class LinearGradient : Gradient, IEquatable<ColorBase>
Inheritance: objectColorBasePatternColorGradientLinearGradient
Implements:
Inherited Members
Constructors
LinearGradient(Point, Point)
Creates a linear gradient between the specified start and end points.
Declaration
cs-api-definition
public LinearGradient(Point startPoint, Point endPoint)
Parameters
startPoint
Point
The starting point coordinates where the gradient begins.
endPoint
Point
The ending point coordinates where the gradient ends.
Methods
Equals(ColorBase)
Compares this linear gradient with another color for value equality.