isLastContourClosed

Returns if contour is closed.

Contour is closed if Path Verb array was last modified by .closePath. When stroked, closed contour draws PaintStrokeJoin instead of PaintStrokeCap at first and last Point.

Return

true if the last contour ends with a PathVerb.CLOSE

See also