Difference between revisions of "Gb.display.fontSize"

From Gamebuino Wiki
Jump to: navigation, search
(Syntax)
m (Syntax)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre>gb.display.setTextSize = 2;</pre>
+
<pre>gb.display.fontScale = 2;</pre>
  
 
== Value ==
 
== Value ==

Revision as of 2014-06-24T20:31:09

Description

Change the scale of the font when using gb.display.print.

Syntax

gb.display.fontScale = 2;

Value

  • scale (byte): how much you want to scale up the font. Default value is 1. You probably don't wan't do go over 2-3 or the font won't fit the screen.

Example

See also