Skip to main content

Path.smurve_()

The Path.smurve_() method draws a smooth curve from the current point an endpoint. In addition, the end point's control point lies on top of the end point.

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 objecti

Example

Path.smurve()

Example of the Path.smurve_() method