CvInvokeEllipse Method (IInputOutputArray, Point, Size, Double, Double, Double, MCvScalar, Int32, LineType, Int32) |
http://www.emgu.com
Draws a simple or thick elliptic arc or fills an ellipse sector. The arc is clipped by ROI rectangle. A piecewise-linear approximation is used for antialiased arcs and thick arcs. All the angles are given in degrees.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void Ellipse(
IInputOutputArray img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
MCvScalar color,
int thickness = 1,
LineType lineType = LineType.EightConnected,
int shift = 0
)
Public Shared Sub Ellipse (
img As IInputOutputArray,
center As Point,
axes As Size,
angle As Double,
startAngle As Double,
endAngle As Double,
color As MCvScalar,
Optional thickness As Integer = 1,
Optional lineType As LineType = LineType.EightConnected,
Optional shift As Integer = 0
)
public:
static void Ellipse(
IInputOutputArray^ img,
Point center,
Size axes,
double angle,
double startAngle,
double endAngle,
MCvScalar color,
int thickness = 1,
LineType lineType = LineType::EightConnected,
int shift = 0
)
static member Ellipse :
img : IInputOutputArray *
center : Point *
axes : Size *
angle : float *
startAngle : float *
endAngle : float *
color : MCvScalar *
?thickness : int *
?lineType : LineType *
?shift : int
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineType.EightConnected
let _shift = defaultArg shift 0
*)
-> unit
Parameters
- img
- Type: Emgu.CVIInputOutputArray
Image - center
- Type: System.DrawingPoint
Center of the ellipse - axes
- Type: System.DrawingSize
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: Emgu.CV.StructureMCvScalar
Ellipse color - thickness (Optional)
- Type: SystemInt32
Thickness of the ellipse arc - lineType (Optional)
- Type: Emgu.CV.CvEnumLineType
Type of the ellipse boundary - shift (Optional)
- Type: SystemInt32
Number of fractional bits in the center coordinates and axes' values
See Also