Function Fill

From Uzebox Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Prototype

void Fill(int x,int y,int width,int height,int tile);

Description

Fill an arbitrary sized, rectangular region using the specified tile index.

Parameters
  • x,y: Top left corner of the region to fill.
  • width,height: Width and Height of the region to fill.
  • tile: Tile index used to fill the region.
Returns

Void

Video Modes

All

Since

V1

Notes

To set a single tile, use SetTile() instead.

Example:

//fill the screen in mode 1 using tile #3
Fill(0,0,39,27,3);