OverlayBitmap.DrawSolidEllipse Method

This method draws a solid, filled ellipse on the live video.
Syntax:
[C#]
public void DrawSolidEllipse( System.Drawing.Color clr, int x0, int y0, int x1, int y1 );
Parameter Description
clr

Specifies the color of the ellipse.

x0

Specifies the column in pixel units of the of the upper left hand corner of the bounding rectangle of the ellipse on the live video.

y0

Specifies the row in pixel units of the of the upper left hand corner of the bounding rectangle of the ellipse on the live video.

x1

Specifies the column in pixel units of the of the lower right hand corner of the bounding rectangle of the ellipse on the live video.

y1

Specifies the row in pixel units of the of the lower right hand corner of the bounding rectangle of the ellipse on the live video.

Limitations:

Run time only. Only after ICImagingControl.LiveStart has been called once.

Information:

Introduced in version 2.0

Example:

This example demonstrates how to draw a solid green ellipse on the live video.

[C#]
OverlayBitmap ob = ICImagingControl1.OverlayBitmapAtPath[PathPositions.Device]; ob.DrawSolidEllipse(System.Drawing.Color.Green, 10, 10, 250, 200);
See also: OverlayBitmap, OverlayBitmap.DrawFrameEllipse, ICImagingControl.LiveStart

<< ICImagingControl.OverlayBitmap