DrawFilledRect

Top  Previous  Next

Syntax

DrawFilledRect(x as INT,y as INT,width as INT,height as INT,col as UINT,opt buffer as POINTER)

Description

Draws a solid colored rectangle.

Parameters

x, y - Coordinates of the upper left corner.

width, height - Size of the rectangle.

col - Color of the rectangle.

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

Return value

None

Remarks

See Also: DrawRect

Example usage

DrawFilledRect 10, 10, 100, 100, RGB(255,0,255)