| Cv2Ellipse Method (InputOutputArray, Point, Size, Double, Double, Double, Scalar, Int32, LineTypes, Int32) |
Draws simple or thick elliptic arc or fills ellipse sector
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void Ellipse(
InputOutputArray img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes.Link8,
int shift = 0
)
Public Shared Sub Ellipse (
img As InputOutputArray,
center As Point,
axes As Size,
angle As Double,
startAngle As Double,
endAngle As Double,
color As Scalar,
Optional thickness As Integer = 1,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0
)
public:
static void Ellipse(
InputOutputArray^ img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
static member Ellipse :
img : InputOutputArray *
center : Point *
axes : Size *
angle : float *
startAngle : float *
endAngle : float *
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
- img
- Type: OpenCvSharpInputOutputArray
Image. - center
- Type: OpenCvSharpPoint
Center of the ellipse. - axes
- Type: OpenCvSharpSize
Length of the ellipse axes. - angle
- Type: SystemDouble
Rotation angle. - startAngle
- Type: SystemDouble
Starting angle of the elliptic arc. - endAngle
- Type: SystemDouble
Ending angle of the elliptic arc. - color
- Type: OpenCvSharpScalar
Ellipse color. - thickness (Optional)
- Type: SystemInt32
Thickness of the ellipse arc. [By default this is 1] - lineType (Optional)
- Type: OpenCvSharpLineTypes
Type of the ellipse boundary. [By default this is LineType.Link8] - shift (Optional)
- Type: SystemInt32
Number of fractional bits in the center coordinates and axes' values. [By default this is 0]
See Also