GamebuinoClassic archive

Archive of the Gamebuino Classic wiki, recovered from the Wayback Machine (capture 2017-01-06). Read-only.

gb.display.fillTriangle

Description

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

Syntax

gb.display.fillTriangle(x0, y0, x1, y1, x2, y2);

Parameters

Returns

none

Example

See also