Skip to main content

Path.smurve()

The Path.smurve() method draws a smooth curve from the current point via a control point to an endpoint. A smooth curve means it will use the reflection of the end control point of the previous curve.

Signature​

Path path.smurve(Point cp2, Point end)
tip

This method is chainable as it returns the Path object

Example​

Path.smurve()

Example of the Path.smurve() method