offset

fun offset(dX: Float, dY: Float): 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