inline void SetHeight(T height);
SetHeight sets the height of the rectangle by adjusting the position of Bottom. The following expression can be used to represent this result:
y2 = (y1 + height)
Parameters |
Description |
T height |
A value representing the new height of the rectangle. |