inline Rect<T>& OffsetY(T y);
OffsetY offsets the y1 and y2 components of a current rectangle through the addition of an alternate value. The following expression can be used to represent this result:
( y1, y2) = (y1 + y, y2 + y)
Parameters |
Description |
T y |
A value that is added to y1 and y2. |
A Rect reference to a new string whose vertical components are offset through the addition of alternate values.