Rect Constructor (Point, Point)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a Rect structure that is exactly large enough to contain the two specified points.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- point1
- Type: System.Windows.Point
The first point that the new rectangle must contain.
- point2
- Type: System.Windows.Point
The second point that the new rectangle must contain.
Show: