Home Segments Top Top Previous Next

1118: Mainline

Occasionally, you may wish to complete a closed figure by drawing a line from the current position to the place specified by the most recent moveTo method. You use the closePath method, with no arguments.