Close the current contour. If the current point is not equal to the first point of the contour, a line segment is automatically added.
[Android Documentation]