-
The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.
-
- skew(x,y)
- rotate(angle)
- translate(x, y)
- scale(x, y)
- None of these
Correct Option: D
HTML5 canvas provides scale(x, y) method which is used to increase or decrease the units in our canvas grid. The position (0, 0) is remaped in canvas by translate(x, y) method. If one want to rotate the current drawing then rotate(angle) method can be used.