offset

fun offset(dX: <Error class: unknown class>, dY: <Error class: unknown class>): Rect

Offsets the origin by @d_x and @d_y.

The size of the rectangle is unchanged.

Return

the offset rectangle

Since

1.0

Parameters

dX

the horizontal offset

dY

the vertical offset