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
'宣告
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
- point1
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
segment's starting point.
- point2
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
segment's end point.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.