Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.

a) scale(x, y)
b) translate(x, y)
c) rotate(angle)
d) skew(x,y)

Answer: a
Explanation: 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

Join The Discussion