Multiple Choice
What happens when the following code executes?
<code>ctx.strokeRect(0, 0, 250, 40) ;</code>
A) The JavaScript engine draws the interior of a rectangle whose center is centered in the canvas drawing area.
B) The JavaScript engine draws the interior of a rectangle whose top-left corner is centered in the canvas drawing area.
C) The JavaScript engine draws the border of a 250 x 40 pixel rectangle whose center is centered in the canvas drawing area.
D) The JavaScript engine draws the border of a 250 x 40 pixel rectangle whose top-left corner is at the top-left corner of the canvas drawing area.
Correct Answer:

Verified
Correct Answer:
Verified
Q11: The standard way to clear the canvas
Q12: The context object's <code>moveTo</code> method moves the
Q13: If you translate a graphics object, you'll
Q14: The text that appears between the canvas
Q15: Using named constants for shape positions and
Q17: Suppose you have created an arc by
Q18: For the context object's fillRect method, the
Q19: To adjust the number of pixels that
Q20: Given the following syntax for the arc
Q21: If you would like your drawn rectangle's