HTML and CSS Reference
Figure 13-14: An arc in canvas .
h at changed the drawing from anticlockwise to clockwise, but it made a major dif erence, as
you'll see when you test it.
Next, using the same program, change the line back to:
h en remove the comment lines ( // ) from the following line:
And test it again. h e i nal change to the program will i ll the arc. Uncomment the line from
And add comment lines so that the stroke statement reads:
When the changes are made, your arc now looks like a kettle, as shown in Figure 13-15.