The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Rect.Rect constructors

This topic lists the constructors of the Rect class. For a complete class listing, see Rect Class.

Overload list


Creates a Rect object by using a Point object to initialize the X and Y data members and a Size object to initialize the Width and Height data members.


Creates a Rect object by using four integers to initialize the X, Y, Width, and Height data members.


Creates a Rect object whose x-coordinate, y-coordinate, width, and height are all zero. This is the default constructor.



Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions