Rect::SetWidth

Rect::SetWidth
inline void SetWidth(T width);
Description

SetWidth sets the width of the current rectangle. The width is used to set x1 and x2 by the following equation:

   width = x2 - x1
Parameters
Parameters 
Description 
T width 
A value that sets the width of the local rectangle.