You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Graphics Library > fillRect

9.10 fillRect

gc:fillRect(x, y, width, height)

Fills a rectangle with the preset color. Both the width and height must be 0. To set the fill color, see setColorRGB.

Introduced in platform.apiLevel = '1.0'