gb.display.drawChar

From Gamebuino Wiki
Revision as of 2014-08-05T01:58:49 by Matrix828 (talk | contribs) (Creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Draws a character at a specified location. The font is defined using gb.display.setFont. If you specify values that cause parts of the circle to be off screen, then they will not be rendered.

Syntax

gb.display.drawChar(x, y, char, size);

Parameters

  • x: horizontal coordinate of the top left of the character
  • y: vertical coordinate of the top left of the character
  • char: the character to draw
  • size: the size of the character
    • Changing the size changes what one pixel is viewed as - EG 4 would make each pixel a 4x4 group of pixels

Returns

none

Example

none

See also