| MatCircle Method (Point, Int32, Scalar, Int32, LineTypes, Int32) |
Draws a circle
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void Circle(
Point center,
int radius,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes.Link8,
int shift = 0
)
Public Sub Circle (
center As Point,
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(
Point center,
int radius,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
member Circle :
center : Point *
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
- center
- Type: OpenCvSharpPoint
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