LineSegment Oluşturucular

Tanım

Aşırı Yüklemeler

LineSegment(PointD, PointD)

İki uç noktasını alan Oluşturucu

LineSegment(LinkShape, Int32, Int32)

İki uç noktasının üst bağlantı şeklini ve dizinlerini alan Oluşturucu.

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

İki uç noktasını ve onun segment dizinini alan Oluşturucu.

LineSegment(PointD, PointD)

İki uç noktasını alan Oluşturucu

public:
 LineSegment(Microsoft::VisualStudio::Modeling::Diagrams::PointD point1, Microsoft::VisualStudio::Modeling::Diagrams::PointD point2);
public LineSegment (Microsoft.VisualStudio.Modeling.Diagrams.PointD point1, Microsoft.VisualStudio.Modeling.Diagrams.PointD point2);
new Microsoft.VisualStudio.Modeling.Diagrams.LineSegment : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
Public Sub New (point1 As PointD, point2 As PointD)

Parametreler

point1
PointD

segmentin başlangıç noktası.

point2
PointD

segmentin bitiş noktası.

Şunlara uygulanır

LineSegment(LinkShape, Int32, Int32)

İki uç noktasının üst bağlantı şeklini ve dizinlerini alan Oluşturucu.

public:
 LineSegment(Microsoft::VisualStudio::Modeling::Diagrams::LinkShape ^ linkShape, int indexStart, int indexEnd);
public LineSegment (Microsoft.VisualStudio.Modeling.Diagrams.LinkShape linkShape, int indexStart, int indexEnd);
new Microsoft.VisualStudio.Modeling.Diagrams.LineSegment : Microsoft.VisualStudio.Modeling.Diagrams.LinkShape * int * int -> Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
Public Sub New (linkShape As LinkShape, indexStart As Integer, indexEnd As Integer)

Parametreler

linkShape
LinkShape

Bu segmentin ait olduğu LinkShape.

indexStart
Int32

segmentin başlangıç noktası.

indexEnd
Int32

segmentin bitiş noktası.

Şunlara uygulanır

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

İki uç noktasını ve onun segment dizinini alan Oluşturucu.

public:
 LineSegment(Microsoft::VisualStudio::Modeling::Diagrams::PointD point1, Microsoft::VisualStudio::Modeling::Diagrams::PointD point2, int startIndex, int endIndex, bool isStartSegment, bool isEndSegment, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD bounds);
public LineSegment (Microsoft.VisualStudio.Modeling.Diagrams.PointD point1, Microsoft.VisualStudio.Modeling.Diagrams.PointD point2, int startIndex, int endIndex, bool isStartSegment, bool isEndSegment, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD bounds);
new Microsoft.VisualStudio.Modeling.Diagrams.LineSegment : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD * int * int * bool * bool * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.LineSegment
Public Sub New (point1 As PointD, point2 As PointD, startIndex As Integer, endIndex As Integer, isStartSegment As Boolean, isEndSegment As Boolean, bounds As RectangleD)

Parametreler

point1
PointD

segmentin başlangıç noktası.

point2
PointD

segmentin bitiş noktası.

startIndex
Int32

tam LinkShape içindeki bu segmentin başlangıç noktasının dizini.

endIndex
Int32

tam LinkShape içindeki bu segmentin bitiş noktasının dizini.

isStartSegment
Boolean

Bu, LinkShape içindeki başlangıç segmentinin olup olmadığı.

isEndSegment
Boolean

Bu, LinkShape içindeki bitiş segmentinin olup olmadığı.

bounds
RectangleD

Bu çizgi segmenti temsil eden sınırlayıcı dikdörtgen

Şunlara uygulanır