Share via


Line.X2 Property

Definition

Gets or sets the x-coordinate of the Line end point.

public:
 property double X2 { double get(); void set(double value); };
double X2();

void X2(double value);
public double X2 { get; set; }
var double = line.x2;
line.x2 = double;
Public Property X2 As Double
<Line X2="double"/>

Property Value

Double

double

The x-coordinate for the end point of the line, in pixels. The default is 0.

Applies to