Consider the following JavaScript code: var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); var img=document.getElementById("img"); Which method will correctly draw an image in the x=10, y=10 position?
Correct Answer: ctx.drawImage(img,10,10);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More HTML 5 MCQ Questions