RoundedRect.offset

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

The size and corners of the rectangle are unchanged.

class RoundedRect
offset
(
float dx
,
float dy
)

Parameters

dx float

the horizontal offset

dy float

the vertical offset

Return Value

the offset rectangle

Meta