PgMatrix.matrixTranslate

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

class PgMatrix
void
matrixTranslate
(
double tx
,
double ty
)

Parameters

tx double

amount to translate in the X direction

ty double

amount to translate in the Y direction

Meta