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, Point center, 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. - center
- Type: OpenCvSharp.CPlusPlusPoint
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