polylinesAsync function

Future<Mat> polylinesAsync(
  1. InputOutputArray img,
  2. VecVecPoint pts,
  3. bool isClosed,
  4. Scalar color, {
  5. int thickness = 1,
  6. int lineType = LINE_8,
  7. int shift = 0,
})

Polylines draws several polygonal curves.

For more information, see: https:///docs.opencv.org/master/d6/d6e/group__imgproc__draw.html#ga1ea127ffbbb7e0bfc4fd6fd2eb64263c

Implementation

Future<Mat> polylinesAsync(
  InputOutputArray img,
  VecVecPoint pts,
  bool isClosed,
  Scalar color, {
  int thickness = 1,
  int lineType = LINE_8,
  int shift = 0,
}) async =>
    cvRunAsync0(
      (callback) => cimgproc.Polylines_Async(img.ref, pts.ref, isClosed, color.ref, thickness, callback),
      (completer) => completer.complete(img),
    );