Which method is used to move the canvas element? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which method is used to move the canvas element?

transformation() move() location() translate()

19th Jan 2020, 9:36 AM
Faahim Sadman
Faahim Sadman - avatar
4 Answers
+ 3
translate
28th May 2022, 11:17 AM
Arslan Shahid
0
(x,y)
20th Jan 2020, 11:30 AM
Faruk Danyaya
Faruk Danyaya - avatar
0
translate
24th Oct 2022, 1:50 PM
farid khairy
- 1
Translate(x,y) method is the one used to move the Canvas. Where x indicates how far to move the grid horizontally, and y indicates how far to move the grid vertically.
20th Apr 2020, 1:15 PM
Neza Brice
Neza Brice - avatar