closePath

Adds a "close path" command (Z) to the path, which closes the current subpath by drawing a straight line back to the start point.