Rect Constructor
Collapse the table of content
Expand the table of content

Rect Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a Rect structure.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Rect(Point, Point) Initializes a Rect structure that is exactly large enough to contain the two specified points.
Public method Rect(Point, Size) Initializes a Rect structure based on an origin and size.
Public method Rect(Double, Double, Double, Double) Initializes a Rect structure that has the specified x-coordinate, y-coordinate, width, and height.

© 2017 Microsoft