Rect Constructor (Point, Size)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a Rect structure based on an origin and size.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- location
- Type: System.Windows.Point
The origin of the new Rect.
- size
- Type: System.Windows.Size
The size of the new Rect.
Show: