pan_x()
Translate the canvas on the x-axis
Paremeters:
movement_x:number
: the amount of movement on the x axis.
Description:
Moves the canvas a given amount on the x-axis. Note that this does does not reset the canvas transformation matrix, thus calling it multiple times will result in accumulated translations.
Updated over 3 years ago
Did this page help you?