inline const Rect<T>& operator =(const Rect<T> & r); inline const Rect<T>& operator =(BoundsType bt);
The operator = function sets the x1, y1, x2, and y2 components of the local rectangle. The following expression is used to determine the result:
(x1, y1, x2, y2) = (r.x1, r.y1, r.x2, r.y2)
Parameters |
Description |
const Rect<T> & r |
A passed rectangle whose x1, y1, x2, and y2 components set those of the local rectangle. |
BoundsType bt |