translate


Description:

public void translate (double tx, double ty)

Changes the transformation represented by this to be the transformation given by first translating by ( tx, ty) then applying the original transformation.

Parameters:

this

a Matrix

tx

amount to translate in the X direction

ty

amount to translate in the Y direction