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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void cvEllipse( IntPtr img, Point center, Size axes, double angle, double startAngle, double endAngle, MCvScalar color, int thickness, LINE_TYPE lineType, int shift ) |
Visual Basic (Declaration) |
---|
Public Shared Sub cvEllipse ( _ img As IntPtr, _ center As Point, _ axes As Size, _ angle As Double, _ startAngle As Double, _ endAngle As Double, _ color As MCvScalar, _ thickness As Integer, _ lineType As LINE_TYPE, _ shift As Integer _ ) |
Visual C++ |
---|
public: static void cvEllipse( IntPtr img, Point center, Size axes, double angle, double startAngle, double endAngle, MCvScalar color, int thickness, LINE_TYPE lineType, int shift ) |
Parameters
- img
- Type: System..::.IntPtr
Image
- center
- Type: System.Drawing..::.Point
Center of the ellipse
- axes
- Type: System.Drawing..::.Size
Length of the ellipse axes
- angle
- Type: System..::.Double
Rotation angle
- startAngle
- Type: System..::.Double
Starting angle of the elliptic arc
- endAngle
- Type: System..::.Double
Ending angle of the elliptic arc
- color
- Type: Emgu.CV.Structure..::.MCvScalar
Ellipse color
- thickness
- Type: System..::.Int32
Thickness of the ellipse arc
- lineType
- Type: Emgu.CV.CvEnum..::.LINE_TYPE
Type of the ellipse boundary
- shift
- Type: System..::.Int32
Number of fractional bits in the center coordinates and axes' values