Region.translate

Translates region by (dx, dy). Since 1.10

class Region
void
translate
(
int dx
,
int dy
)

Parameters

dx int

Amount to translate in the x direction

dy int

Amount to translate in the y direction