arrowedLine function

void arrowedLine(
  1. VARP img,
  2. (double, double) pt1,
  3. (double, double) pt2,
  4. Scalar color, {
  5. int thickness = 1,
  6. int lineType = LINE_8,
  7. int shift = 0,
  8. double tipLength = 0.1,
})

Implementation

void arrowedLine(
  VARP img,
  (double, double) pt1,
  (double, double) pt2,
  Scalar color, {
  int thickness = 1,
  int lineType = LINE_8,
  int shift = 0,
  double tipLength = 0.1,
}) {
  final cPt1 = Point.fromTuple(pt1);
  final cPt2 = Point.fromTuple(pt2);
  c.mnn_cv_arrowedLine(img.ptr, cPt1.ref, cPt2.ref, color.ref, thickness, lineType, shift, tipLength);
  cPt1.dispose();
  cPt2.dispose();
}