Path.isClosed

bool isClosed()

Returns if the path represents a single closed contour.

Returns

TRUE if the path is closed