bezierCurveTo method
The
CanvasRenderingContext2D.bezierCurveTo()
method of the Canvas 2D API adds a cubic Bézier
curve to
the current
sub-path. It requires three points: the first two are control points and
the third one
is the end point. The starting point is the latest point in the current
path, which can
be changed using CanvasRenderingContext2D.moveTo before
creating the Bézier curve.
Implementation
external void bezierCurveTo(
num cp1x,
num cp1y,
num cp2x,
num cp2y,
num x,
num y,
);