Matrix.translate

Applies a translation by tx, ty to the transformation in matrix. The effect of the new transformation is to first translate the coordinates by tx and ty, then apply the original transformation to the coordinates. Since 1.0

class Matrix
void
translate
(
double tx
,
double ty
)

Parameters

tx double

amount to translate in the X direction

ty double

amount to translate in the Y direction

Meta