Rect::SetBottomRight

Rect::SetBottomRight
inline void SetBottomRight(const Point<T> & pt);
Description

SetBottomRight sets the y2 and x2 components of the current rectangle to the y and x components of a passed point respectively.

Parameters
Parameters 
Description 
const Point<T> & pt 
A point whose x coordinate sets x2 and whose y coordinate sets y2.