cubicTo

inline fun cubicTo(controlPoint1: Point, controlPoint2: Point, endPoint: Point)

Adds a cubic bezier from the last point, approaching control points (controlPoint1.x,controlPoint1.y) and (controlPoint2.x,controlPoint2.y), and ending at (endPoint.x,endPoint.y). If no moveTo children has been added to this Path, then the first point is automatically set to (0,0).

Parameters

controlPoint1

The 1st control point on a cubic curve

controlPoint2

The 2nd control point on a cubic curve

endPoint

The end point on a cubic curve