Valid 70-480 Dumps shared by ExamDiscuss.com for Helping Passing 70-480 Exam! ExamDiscuss.com now offer the newest 70-480 exam dumps, the ExamDiscuss.com 70-480 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 70-480 dumps with Test Engine here:
You are developing a web page that will contain an animated logo. The web page currently has a logo image on a canvas object. You reference the context of the canvas object by using a variable named context. You need to spin the logo image on the canvas. Which method should you use?
Correct Answer: A
Explanation/Reference: Explanation: The rotate() method rotates the current drawing. Example Rotate the rectangle 20 degrees: JavaScript: var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.rotate(20*Math.PI/180); ctx.fillRect(50,20,100,50); Incorrect Answers: B: there is no canvas.spin method. Reference: HTML canvas rotate() Method