The Path.curve() method draws a cubic Bézier curve from the current position via two control points to a given endpoint.
Path.curve()
Path path.curve(Point cp1, Point cp2, Point to)
This method is chainable as it returns the Path object
Path