Closes the last subpath, as if a straight line had been drawn from the current point to the first point of the subpath.
Source
void close() native "Path_close";
Closes the last subpath, as if a straight line had been drawn from the current point to the first point of the subpath.
void close() native "Path_close";