bezierCurveTo method
Implementation
bezierCurveTo(num aCP1x, num aCP1y, num aCP2x, num aCP2y, num aX, num aY) {
var curve = CubicBezierCurve(
currentPoint.clone(),
Vector2(aCP1x.toDouble(), aCP1y.toDouble()),
Vector2(aCP2x.toDouble(), aCP2y.toDouble()),
Vector2(aX.toDouble(), aY.toDouble()));
curves.add(curve);
currentPoint.set(aX.toDouble(), aY.toDouble());
return this;
}