Although there isn’t an automatic way to close a path, if you drag the endpoint of a path with the Add Points tool and press the Spacebar when positioned over the first point, the path will be closed and a new shape is created. Once a shape is created, you can fill it with a color.
Paths drawn with the Freehand tool (F) can be automatically closed by enabling the Auto Close option in the Options bar.