Cv2Ellipse Method (Mat, Point, Size, Double, Double, Double, Scalar, Int32, LineType, Int32) 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,
	Point center,
	Size axes,
	double angle,
	double startAngle,
	double endAngle,
	Scalar color,
	int thickness = 1,
	LineType lineType = LineType.Link8,
	int shift = 0
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat
Image.
center
Type: OpenCvSharp.CPlusPlusPoint
Center of the ellipse.
axes
Type: OpenCvSharp.CPlusPlusSize
Length of the ellipse axes.
angle
Type: SystemDouble
Rotation angle.
startAngle
Type: SystemDouble
Starting angle of the elliptic arc.
endAngle
Type: SystemDouble
Ending angle of the elliptic arc.
color
Type: OpenCvSharp.CPlusPlusScalar
Ellipse color.
thickness (Optional)
Type: SystemInt32
Thickness of the ellipse arc. [By default this is 1]
lineType (Optional)
Type: OpenCvSharpLineType
Type of the ellipse boundary. [By default this is LineType.Link8]
shift (Optional)
Type: SystemInt32
Number of fractional bits in the center coordinates and axes' values. [By default this is 0]
See Also

Reference