Region.translate

void translate(int dx, int dy)

Translates region by (dx, dy).

Parameters

dxAmount to translate in the x direction
dyAmount to translate in the y direction