Rect.setOffset

Function/Meaning

Rectangle position setting

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

Specifies the X coordinate value of the rectangle.
This value can also be obtained and set with the Rect.left property.

y

Specifies the Y coordinate value of the rectangle.
This value can also be obtained and set with the Rect.topt property.

Return value
None (void)
Explanation

Set the rectangular position.