Share via


LinearGradientBrush.EndPoint Property

Definition

Gets or sets the ending two-dimensional coordinates of the linear gradient.

public:
 property Point EndPoint { Point get(); void set(Point value); };
Point EndPoint();

void EndPoint(Point value);
public Point EndPoint { get; set; }
var point = linearGradientBrush.endPoint;
linearGradientBrush.endPoint = point;
Public Property EndPoint As Point
<LinearGradientBrush EndPoint="x,y"/>

Property Value

The ending two-dimensional coordinates of the linear gradient. The default is a Point with value 1,1.

Applies to