Rect::SetTopRight

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

SetTopRight sets the y1 and x2 components of the current rectangle.

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