Skip to main content

Path.close()

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

Signature

Path path.close()
tip

This method is chainable as it returns the Path object

Example

fixme: Errors logged. Please implement log view

Example of the Path.close() method