Multiple Choice
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
Correct Answer:
Verified
Q20: Given the following syntax for the arc
Q21: If you would like your drawn rectangle's
Q22: Given the following syntax for the arc
Q23: When assigning colors for canvas shapes, you
Q24: After the browser engine assigns a value
Q25: How do you specify the color for
Q26: What does the following method call do?<br>context.setTransform(1,
Q27: To rotate around a position different from
Q29: Which of the following is the context
Q30: Given the following syntax for the clearRect