LineSegment Constructor (PointD, PointD, Int32, Int32, Boolean, Boolean, RectangleD)

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Sub New ( _
    point1 As PointD, _
    point2 As PointD, _
    startIndex As Integer, _
    endIndex As Integer, _
    isStartSegment As Boolean, _
    isEndSegment As Boolean, _
    bounds As RectangleD _
)
'使用
Dim point1 As PointD
Dim point2 As PointD
Dim startIndex As Integer
Dim endIndex As Integer
Dim isStartSegment As Boolean
Dim isEndSegment As Boolean
Dim bounds As RectangleD

Dim instance As New LineSegment(point1, _
    point2, startIndex, endIndex, isStartSegment, _
    isEndSegment, bounds)
public LineSegment(
    PointD point1,
    PointD point2,
    int startIndex,
    int endIndex,
    bool isStartSegment,
    bool isEndSegment,
    RectangleD bounds
)
public:
LineSegment(
    PointD point1, 
    PointD point2, 
    int startIndex, 
    int endIndex, 
    bool isStartSegment, 
    bool isEndSegment, 
    RectangleD bounds
)
public function LineSegment(
    point1 : PointD, 
    point2 : PointD, 
    startIndex : int, 
    endIndex : int, 
    isStartSegment : boolean, 
    isEndSegment : boolean, 
    bounds : RectangleD
)

Parameters

Permissions

See Also

Reference

LineSegment Class

LineSegment Members

LineSegment Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace