connectPoints function

Path connectPoints(
  1. BlobCurves curves
)

Implementation

Path connectPoints(BlobCurves curves) {
  var path = Path();
  path.moveTo(curves.start.dx, curves.start.dy);
  curves.curves.forEach((curve) {
    path.quadraticBezierTo(curve[0], curve[1], curve[2], curve[3]);
  });
  path.close();

  return path;
}