Function Fill

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);