Q42
The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.
A.
scale(x, y)
AnswerB.
translate(x, y)
C.
rotate(angle)
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
Solution:
HTML5 canvas provides scale(x, y) method which is used to increase or decrease the units in our canvas grid.