Partager via


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

Constructeur qui prend les deux points de fin et son segment-index.

Espace de noms :  Microsoft.VisualStudio.Modeling.Diagrams
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntaxe

'Déclaration
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
)

Paramètres

  • startIndex
    Type : System.Int32
    index du point de départ de ce segment dans le LinkShape complet.
  • endIndex
    Type : System.Int32
    index du point de fin de ce segment dans le LinkShape complet.
  • isStartSegment
    Type : System.Boolean
    si c'est le segment de début dans le LinkShape.
  • isEndSegment
    Type : System.Boolean
    si c'est le segment de fin dans le LinkShape.

Sécurité .NET Framework

Voir aussi

Référence

LineSegment Classe

LineSegment, surcharge

Microsoft.VisualStudio.Modeling.Diagrams, espace de noms