Rect.addOffset

Function/Meaning

Rectangle position setting

Type
Rectclassmethod of
Syntax
addOffset(x, y)
Arguments
x

Specifies the amount of horizontal movement of the rectangle.

y

Specifies the amount of vertical movement of the rectangle.

Return value
None (void)
Explanation

Move the rectangular position.
Moves the rectangle by the specified x, y values.