close

inline fun close()

Closes the current contour. If the current point is not equal to the first point of the contour, a line segment is automatically added.