FLOODFILL

Top  Previous  Next

Syntax

FLOODFILL(win as WINDOW, x as INT, y as INT, crColor as UINT)

Description

Fills an area containing the point x,y with the specified color.  Filling continues outward until a color other than the one specified is encountered.

Parameters

win - Window.

x, y - Point to start the flood fill.

crColor - Color to fill.

Return value

None

Remarks

See Also: RGB

Example usage

FLOODFILL mywnd, 10, 20, RGB(255,0,0)