Edytuj

Udostępnij za pośrednictwem


LineGeometry Constructors

Definition

Initializes a new instance of the LineGeometry class.

Overloads

LineGeometry()

Initializes a new instance of the LineGeometry class that has no length.

LineGeometry(Point, Point)

Initializes a new instance of the LineGeometry class that has the specified start and end points.

LineGeometry(Point, Point, Transform)

Initializes a new instance of the LineGeometry class.

LineGeometry()

Initializes a new instance of the LineGeometry class that has no length.

public:
 LineGeometry();
public LineGeometry ();
Public Sub New ()

Applies to

LineGeometry(Point, Point)

Initializes a new instance of the LineGeometry class that has the specified start and end points.

public:
 LineGeometry(System::Windows::Point startPoint, System::Windows::Point endPoint);
public LineGeometry (System.Windows.Point startPoint, System.Windows.Point endPoint);
new System.Windows.Media.LineGeometry : System.Windows.Point * System.Windows.Point -> System.Windows.Media.LineGeometry
Public Sub New (startPoint As Point, endPoint As Point)

Parameters

startPoint
Point

The start point of the line.

endPoint
Point

The end point of the line.

See also

Applies to

LineGeometry(Point, Point, Transform)

Initializes a new instance of the LineGeometry class.

public:
 LineGeometry(System::Windows::Point startPoint, System::Windows::Point endPoint, System::Windows::Media::Transform ^ transform);
public LineGeometry (System.Windows.Point startPoint, System.Windows.Point endPoint, System.Windows.Media.Transform transform);
new System.Windows.Media.LineGeometry : System.Windows.Point * System.Windows.Point * System.Windows.Media.Transform -> System.Windows.Media.LineGeometry
Public Sub New (startPoint As Point, endPoint As Point, transform As Transform)

Parameters

startPoint
Point

The start point.

endPoint
Point

The end point.

transform
Transform

The transformation to apply to the line.

See also

Applies to