addBezier method
void
addBezier()
Adds an bezier curve
Implementation
void addBezier(Offset startPoint, Offset firstControlPoint,
Offset secondControlPoint, Offset endPoint) {
final List<double> points = <double>[];
points.add(startPoint.dx);
points.add(startPoint.dy);
points.add(firstControlPoint.dx);
points.add(firstControlPoint.dy);
points.add(secondControlPoint.dx);
points.add(secondControlPoint.dy);
points.add(endPoint.dx);
points.add(endPoint.dy);
_addPoints(points, PathPointType.bezier3);
}