LinearGradient
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:
C#
public class LinearGradient : Gradient, IEquatable<ColorBase>
Inheritance: objectColorBasePatternColorGradientLinearGradient
Implements:
Inherited Members
Constructors
Creates a linear gradient between the specified start and end points.
C#
public LinearGradient(Point startPoint, Point endPoint)
The starting point coordinates where the gradient begins.
endPointPointThe ending point coordinates where the gradient ends.