translate


Description:

public void translate (double tx, double ty)

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

Parameters:

this

an item model.

tx

the amount to move the origin in the horizontal direction.

ty

the amount to move the origin in the vertical direction.