" />

gb.display.fillRect

DESCRIPTION


Draws and fills a rectangle at a specified location. The color used is defined using gb.display.setColor(). If you specify values that cause parts of the rectangle to be off screen, then they will not be rendered.

SYNTAX


gb.display.fillRect(x, y, w, h);

PARAMETERS


  • x: horizontal coordinate of the top left corner.
  • y: vertical coordinate of the top left corner.
  • w: width of the rectangle.
  • h: height of the rectangle.

RETURNS


none

0