GeometryHelpers.RectangleDFrom2Pts(PointD, PointD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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