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