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.

C# | Visual Basic | Visual C++ |
public static void cvEllipse( IntPtr img, MCvPoint center, MCvSize axes, double angle, double startAngle, double endAngle, MCvScalar color, int thickness, LINE_TYPE lineType, int shift )

- img (IntPtr)
- Image
- center (MCvPoint)
- Center of the ellipse
- axes (MCvSize)
- Length of the ellipse axes
- angle (Double)
- Rotation angle
- startAngle (Double)
- Starting angle of the elliptic arc
- endAngle (Double)
- Ending angle of the elliptic arc
- color (MCvScalar)
- Ellipse color
- thickness (Int32)
- Thickness of the ellipse arc
- lineType (LINE_TYPE)
- Type of the ellipse boundary
- shift (Int32)
- Number of fractional bits in the center coordinates and axes' values