Click or drag to resize

Cv2Ellipse Method (InputOutputArray, RotatedRect, Scalar, Int32, LineTypes)

Draws simple or thick elliptic arc or fills ellipse sector

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Ellipse(
	InputOutputArray img,
	RotatedRect box,
	Scalar color,
	int thickness = 1,
	LineTypes lineType = LineTypes.Link8
)

Parameters

img
Type: OpenCvSharpInputOutputArray
Image.
box
Type: OpenCvSharpRotatedRect
The enclosing box of the ellipse drawn
color
Type: OpenCvSharpScalar
Ellipse color.
thickness (Optional)
Type: SystemInt32
Thickness of the ellipse boundary. [By default this is 1]
lineType (Optional)
Type: OpenCvSharpLineTypes
Type of the ellipse boundary. [By default this is LineType.Link8]
See Also