RoundedRect.offset

gsk.rounded_rect.RoundedRect offset(float dx, float dy)

Offsets the bound's origin by dx and dy.

The size and corners of the rectangle are unchanged.

Parameters

dxthe horizontal offset
dythe vertical offset

Returns

the offset rectangle