Rect Constructor

July 28, 2014

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.

  NameDescription
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.
Top

Show:
© 2014 Microsoft