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
- point1
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- point2
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- startIndex
Type: System.Int32
- endIndex
Type: System.Int32
- isStartSegment
Type: System.Boolean
- isEndSegment
Type: System.Boolean
- bounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.