Udostępnij za pośrednictwem


Konstruktor LineSegment — (PointD, PointD, Int32, Int32, Boolean, Boolean, RectangleD)

Konstruktor, który przyjmuje dwa punkty końcowe i jej indeks segmentu.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Składnia

'Deklaracja
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
)

Parametry

  • startIndex
    Typ: System.Int32
    Indeks punkt początkowy tego segmentu w pełnej LinkShape.
  • endIndex
    Typ: System.Int32
    Indeks punktu końcowego tego segmentu w pełnej LinkShape.
  • isStartSegment
    Typ: System.Boolean
    niezależnie od tego, czy jest to segmentu start w LinkShape.
  • isEndSegment
    Typ: System.Boolean
    niezależnie od tego, czy jest to koniec segmentu w LinkShape.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

LineSegment Klasa

Przeciążenie LineSegment

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams