close

Closes the path of the ShapeContour.

The path is closed by creating a new connecting Segment between the first and last Segment in the contour. If the distance between the beginning of the first and the finish of the last point is negligible (<0.001), then no new Segments are added.