Redigera

Dela via


LineSegment Constructors

Definition

Initializes a new instance of the LineSegment class.

Overloads

LineSegment()

Initializes a new instance of the LineSegment class.

LineSegment(Point, Boolean)

Initializes a new instance of the LineSegment class that has the specified end Point and Boolean that determines whether this LineSegment is stroked.

LineSegment()

Initializes a new instance of the LineSegment class.

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

Applies to

LineSegment(Point, Boolean)

Initializes a new instance of the LineSegment class that has the specified end Point and Boolean that determines whether this LineSegment is stroked.

public:
 LineSegment(System::Windows::Point point, bool isStroked);
public LineSegment (System.Windows.Point point, bool isStroked);
new System.Windows.Media.LineSegment : System.Windows.Point * bool -> System.Windows.Media.LineSegment
Public Sub New (point As Point, isStroked As Boolean)

Parameters

point
Point

The end point of this LineSegment.

isStroked
Boolean

true to stroke this LineSegment; otherwise, false.

Applies to