quadTo

inline fun quadTo(controlPoint: Point, endPoint: Point)

Adds a quadratic bezier from the last point, approaching control point (controlPoint.x,controlPoint.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

controlPoint

The control point on a quadratic curve

endPoint

The end point on a quadratic curve