0
Does the translation only going to affect the text after the translation is done .what about the before ones
The translate(x,y) method is used to move the Canvas. x indicates how far to move the grid horizontally, and y indicates how far to move the grid vertically.
1 Respuesta
0
More precisely, the translate(x,y) method doesn't move the canvas but only move its axes origin... meaning that all what drawn before are not affected by such transform ^^
If you want to move (scroll) a already drawed canvas, you need to clear it before and redraw (you should have kept the previous operations to be able to do so)...