RectF.RectF constructors

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

Overload list

Constructor Description
RectF(PointF&,SizeF&) Creates a RectF object by using a PointF object to initialize the X and Y data members and uses a SizeF object to initialize the Width and Height data members of this rectangle.
RectF(REAL,REAL,REAL,REAL) Creates a RectF object by using four integers to initialize the X, Y, Width, and Height data members.
RectF() Creates a RectF object and initializes the X, Y, Width, and Height data members to zero. This is the default constructor.