Given the following syntax for the clearRect method, if you want to clear the entire canvas drawing area, what values are appropriate for the method's first two arguments?
Context.clearRect(top-left-x, top-left-y, width, height) ;
A) 0, 0 (assuming the current coordinate system is the same as the canvas drawing area)
B) -1, -1
C) null, null
Correct Answer:
Verified
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
Q24: Given the following syntax for the clearRect
Q25: To indicate the start of a path:
A)
Q26: Which of the following is the context
Q27: Given the following syntax for the arc
Q28: If you would like your drawn rectangle's
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