close method Null safety

void close()

Closes the last sub-path, as if a straight line had been drawn from the current point to the first point of the sub-path.

Implementation

void close() native 'Path_close';