translate

inline fun translate(dx: Float = 0.0f, dy: Float = 0.0f)

Postconcats the current transform with the specified translation.

M' = T(dx, dy) * M

Parameters

dx

The horizontal translation

dy

The vertical translation