translate

fun translate(tx: <Error class: unknown class>, ty: <Error class: unknown class>)

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

Parameters

tx

amount to translate in the X direction

ty

amount to translate in the Y direction