pan_y()

Translate the canvas on the y-axis

Paremeters:

  • movement_y:number: the amount of movement on the y axis.

Description:

Moves the canvas a given amount on the y-axis. Note that this does does not reset the canvas transformation matrix, thus calling it multiple times will result in accumulated translations.