Difference between revisions of "Gb.display.fontSize"
From Gamebuino Wiki
m (Rodot moved page Gb.display.textSize to Gb.display.fontScale without leaving a redirect: wrong name) |
(setter changed to public var) |
||
Line 7: | Line 7: | ||
<pre>gb.display.setTextSize(scale);</pre> | <pre>gb.display.setTextSize(scale);</pre> | ||
− | == | + | == 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. | * 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 == | == Example == |
Revision as of 2014-06-24T21:30:28
Description
Change the scale of the font when using gb.display.print
.
Syntax
gb.display.setTextSize(scale);
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