Matrix.initTranslate
void initTranslate(double tx, double ty)Initializes matrix to a transformation that translates by tx and ty in the X and Y dimensions, respectively.
Parameters
tx | amount to translate in the X direction |
ty | amount to translate in the Y direction |