Cv2Ellipse Method (Mat, RotatedRect, Scalar, Int32, LineType) OpenCvSharp Class Library
Draws simple or thick elliptic arc or fills ellipse sector

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Ellipse(
	Mat img,
	RotatedRect box,
	Scalar color,
	int thickness = 1,
	LineType lineType = LineType.Link8
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat
Image.
box
Type: OpenCvSharp.CPlusPlusRotatedRect
The enclosing box of the ellipse drawn
color
Type: OpenCvSharp.CPlusPlusScalar
Ellipse color.
thickness (Optional)
Type: SystemInt32
Thickness of the ellipse boundary. [By default this is 1]
lineType (Optional)
Type: OpenCvSharpLineType
Type of the ellipse boundary. [By default this is LineType.Link8]
See Also

Reference