Dela via


LinearGradientBrush.StartPoint Property

Definition

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

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

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

Property Value

The starting two-dimensional coordinates for the linear gradient. The default is a Point with value 0,0.

Applies to