Cv2Circle Method (Mat, Int32, Int32, Int32, Scalar, Int32, LineType, Int32) OpenCvSharp Class Library
Draws a circle

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

public static void Circle(
	Mat img,
	int centerX,
	int centerY,
	int radius,
	Scalar color,
	int thickness = 1,
	LineType lineType = LineType.Link8,
	int shift = 0
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat
Image where the circle is drawn.
centerX
Type: SystemInt32
X-coordinate of the center of the circle.
centerY
Type: SystemInt32
Y-coordinate of the center of the circle.
radius
Type: SystemInt32
Radius of the circle.
color
Type: OpenCvSharp.CPlusPlusScalar
Circle color.
thickness (Optional)
Type: SystemInt32
Thickness of the circle outline if positive, otherwise indicates that a filled circle has to be drawn. [By default this is 1]
lineType (Optional)
Type: OpenCvSharpLineType
Type of the circle boundary. [By default this is LineType.Link8]
shift (Optional)
Type: SystemInt32
Number of fractional bits in the center coordinates and radius value. [By default this is 0]
See Also

Reference