GamebuinoClassic archive

Archive of the Gamebuino Classic wiki, recovered from the Wayback Machine (capture 2016-12-30). Read-only.

gb.display.drawRect

Description

Draws 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.drawRect(x, y, w, h);

Parameters

Returns

none

Example

See also