Path.close()

The Path.close() method closes a path by drawing a straight line from the current position to the path’s start.

Signature

Javascript
Path path.close()
TIP|

This method is chainable as it returns the Path object

Example

Path._close()