To rotate around a position different from the coordinate system's origin, you should first call <code>translate</code> to move the origin so it is centered at the position where you want the rotation to take place.
Correct Answer:
Verified
Q12: What happens when the following code executes?
<code>ctx.strokeRect(0,
Q13: Given the following syntax for the arc
Q14: Suppose you have created an arc by
Q15: In calling the context object's <code>rotate</code> method,
Q16: A problem with Flash is that it
Q18: When you call the context object's <code>rotate</code>
Q19: The text that appears between the canvas
Q20: The context object's <code>moveTo</code> method moves the
Q21: If you call ctx.scale(2, 2) and then
Q22: The standard way to clear the canvas
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents