Direction: Choose the correct option
Q1.
Which Canvas method translates (moves) the origin?
Direction: Choose the correct option
Q2.
ctx.translate(50, 50);
ctx.fillRect(0, 0, 100, 100);Where does the rectangle draw?Direction: Choose the correct option
Q3.
Which method rotates the canvas?
Direction: Choose the correct option
Q4.
How do you scale drawings in canvas?
Direction: Choose the correct option
Q5.
What method saves the current canvas state?
