| 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
)
Public Sub Circle (
centerX As Integer,
centerY As Integer,
radius As Integer,
color As Scalar,
Optional thickness As Integer = 1,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0
)
public:
void Circle(
int centerX,
int centerY,
int radius,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
member Circle :
centerX : int *
centerY : int *
radius : int *
color : Scalar *
?thickness : int *
?lineType : LineTypes *
?shift : int
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineTypes.Link8
let _shift = defaultArg shift 0
*)
-> unit
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