ELLIPSE

Top  Previous  Next

Syntax

ELLIPSE(win as WINDOW,left:INT,top:INT,width:INT,height:INT,OPT outline as UINT, OPT fill as UINT)

Description

Draws an ellipse in window bound by the rectangle specified by left,top,width and height.

Parameters

win - Window to draw the ellipse in.

left, top, width, height -  Bounding rectangle for the ellipse.

outline - Optional outline color.

fill - Optional fill color.

Return value

None

Remarks

If outline and fill are not specified the ellipse will be drawn in the current foreground color.

Example usage

ELLIPSE mywnd, 10,10,100,100, RGB(255,0,0), RGB(10,10,128)