isClosed property

bool isClosed

Whether the contour is closed.

Returns true if the contour ends with a call to Path.close (which may have been implied when using Path.addRect) or if forceClosed was specified as true in the call to Path.computeMetrics. Returns false otherwise.

Implementation

bool get isClosed native 'PathMeasure_isClosed';