다음을 통해 공유


GeometryHelpers.RectangleDFrom2Pts(PointD, PointD) Method

Definition

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::RectangleD RectangleDFrom2Pts(Microsoft::VisualStudio::Modeling::Diagrams::PointD pt1, Microsoft::VisualStudio::Modeling::Diagrams::PointD pt2);
public static Microsoft.VisualStudio.Modeling.Diagrams.RectangleD RectangleDFrom2Pts (Microsoft.VisualStudio.Modeling.Diagrams.PointD pt1, Microsoft.VisualStudio.Modeling.Diagrams.PointD pt2);
static member RectangleDFrom2Pts : Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Function RectangleDFrom2Pts (pt1 As PointD, pt2 As PointD) As RectangleD

Parameters

pt1
PointD
pt2
PointD

Returns

Applies to