Click or drag to resize

MatCircle Method (Int32, Int32, Int32, Scalar, Int32, LineTypes, Int32)

Draws a circle

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void Circle(
	int centerX,
	int centerY,
	int radius,
	Scalar color,
	int thickness = 1,
	LineTypes lineType = LineTypes.Link8,
	int shift = 0
)

Parameters

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: OpenCvSharpScalar
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: OpenCvSharpLineTypes
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