Partager via


LineSegment Constructor (PointD, PointD)

Constructor that takes the two end points

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public Sub New ( _
    point1 As PointD, _
    point2 As PointD _
)
public LineSegment(
    PointD point1,
    PointD point2
)
public:
LineSegment(
    PointD point1, 
    PointD point2
)
new : 
        point1:PointD * 
        point2:PointD -> LineSegment
public function LineSegment(
    point1 : PointD, 
    point2 : PointD
)

Parameters

.NET Framework Security

See Also

Reference

LineSegment Class

LineSegment Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace