Aracılığıyla paylaş


LineSegment Oluşturucu (PointD, PointD, Int32, Int32, Boolean, Boolean, RectangleD)

İki uç noktaları ve segment endeksini Oluşturucu.

Ad alanı:  Microsoft.VisualStudio.Modeling.Diagrams
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)

Sözdizimi

'Bildirim
Public Sub New ( _
    point1 As PointD, _
    point2 As PointD, _
    startIndex As Integer, _
    endIndex As Integer, _
    isStartSegment As Boolean, _
    isEndSegment As Boolean, _
    bounds As RectangleD _
)
public LineSegment(
    PointD point1,
    PointD point2,
    int startIndex,
    int endIndex,
    bool isStartSegment,
    bool isEndSegment,
    RectangleD bounds
)

Parametreler

  • startIndex
    Tür: System.Int32
    tam LinkShape, bu parçanın başlangıç noktası dizini.
  • endIndex
    Tür: System.Int32
    tam LinkShape, bu parçanın bitiş noktası dizini.
  • isStartSegment
    Tür: System.Boolean
    Bu LinkShape başlangıç kesiminde olsun olmasın.
  • isEndSegment
    Tür: System.Boolean
    Bu LinkShape son Segmentte olsun olmasın.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

LineSegment Sınıf

LineSegment Fazla Yük

Microsoft.VisualStudio.Modeling.Diagrams Ad Alanı