circle function

void circle(
  1. VARP img,
  2. (double, double) center,
  3. int radius,
  4. Scalar color, {
  5. int thickness = 1,
  6. int lineType = LINE_8,
  7. int shift = 0,
})

Implementation

void circle(
  VARP img,
  (double, double) center,
  int radius,
  Scalar color, {
  int thickness = 1,
  int lineType = LINE_8,
  int shift = 0,
}) {
  final cCenter = Point.fromTuple(center);
  c.mnn_cv_circle(img.ptr, cCenter.ref, radius, color.ref, thickness, lineType, shift);
  cCenter.dispose();
}