translate


Description:

public void translate (double tx, double ty)

Translates the origin of the item's coordinate system by the given amounts.

Parameters:

this

an item.

tx

the amount to move the origin in the horizontal direction.

ty

the amount to move the origin in the vertical direction.