The Path.close() method closes a path by drawing a straight line from the current position to the path’s start.
Path.close()
Path path.close()
This method is chainable as it returns the Path object
Path