Difference between revisions of "Gb.display.setFont"

From Gamebuino Wiki
Jump to: navigation, search
m (syntax)
m (syntax)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre>gb.setFont(font);</pre>
+
<pre>gb.display.setFont(font);</pre>
  
 
== Parameters ==
 
== Parameters ==

Revision as of 2014-06-24T20:04:20

Description

Change the font used in gb.display.print and gb.display.drawChar

Syntax

gb.display.setFont(font);

Parameters

  • font: the font you want to use. It can be either a default font (font3x5 or font5x7) or a custom font embedded in the game. You can tools to edit the default fonts and create your own on Gamebuino's GitHub in /utilities/font/font_editor.

Returns

none

Example

See also