FILLSCREEN

Top  Previous  Next

Syntax

FILLSCREEN(nColor as UINT, OPT buffer as POINTER)

Description

Fills the buffer specified with the RGB color or palette index specified.

Parameters

nColor - Color to use for the fill.

buffer - Optional. Can be one of BACKBUFFER (default), FRONTBUFFER or SPRITEBUFFER

Return value

None

Remarks

For true color screens (16, 24 and 32 bit) the nColor parameter is and RGB color. For 8 bit screens the nColor parameter is the index of a color in the palette.

Example usage

FILLSCREEN RGB(255,0,255)