offset

fun offset(dx: Float, dy: Float): RoundedRect

Offsets the bound's origin by @dx and @dy.

The size and corners of the rectangle are unchanged.

Return

the offset rectangle

Parameters

dx

the horizontal offset

dy

the vertical offset