isClosed property
final
Whether the contour is closed.
Returns true if the contour ends with a call to Path.close (which may
have been implied when using methods like Path.addRect) or if
forceClosed
was specified as true in the call to Path.computeMetrics.
Returns false otherwise.
Implementation
final bool isClosed;