translate

open fun translate(x: Int, y: Int): Area

Translates (shifts) this area by the specified x and y

Return

a new area with the specified translation

Parameters

x

the x translation

y

the y translation


open fun translate(x: Int, y: Int, z: Int): Area

Translates (shifts) this area by the specified x, y, and z

Return

a new area with the specified translation

Parameters

x

the x translation

y

the y translation

z

the z translation (plane)