Rect::OffsetY

Rect::OffsetY
inline Rect<T>& OffsetY(T y);
Description

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
Parameters 
Description 
T y 
A value that is added to y1 and y2. 
Return Value

A Rect reference to a new string whose vertical components are offset through the addition of alternate values.

See Also