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 third and fourth arguments?
Context.clearRect(top-left-x, top-left-y, width, height) ;
A) canvas.width, canvas.height (where canvas is the canvas element's object)
B) MAX_WIDTH, MAX_HEIGHT
C) null, null
Correct Answer:
Verified
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
Q23: 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
Q29: When assigning colors for canvas shapes, you
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