ellipse function

void ellipse(
  1. InputOutputArray img,
  2. Point center,
  3. Point axes,
  4. double angle,
  5. double startAngle,
  6. double endAngle,
  7. Scalar color, {
  8. int thickness = 1,
  9. int lineType = LINE_8,
  10. int shift = 0,
})

Ellipse draws a simple or thick elliptic arc or fills an ellipse sector.

For further details, please see: https:///docs.opencv.org/master/d6/d6e/group__imgproc__draw.html#ga28b2267d35786f5f890ca167236cbc69

Implementation

void ellipse(
  InputOutputArray img,
  Point center,
  Point axes,
  double angle,
  double startAngle,
  double endAngle,
  Scalar color, {
  int thickness = 1,
  int lineType = LINE_8,
  int shift = 0,
}) {
  _bindings.Ellipse(
    img.ptr,
    center.toNative(),
    axes.toNative(),
    angle,
    startAngle,
    endAngle,
    color.toNative(),
    thickness,
  );
}