Difference between revisions of "Gb.display.fontSize"
From Gamebuino Wiki
(setter changed to public var) |
m (Rodot moved page Gb.display.fontScale to Gb.display.fontSize without leaving a redirect) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
== Description == | == Description == | ||
− | Change the | + | Change the size of the font when using <code>gb.display.print</code>. |
== Syntax == | == Syntax == | ||
− | <pre>gb.display. | + | <pre>gb.display.fontSize = size;</pre> |
== Value == | == Value == | ||
− | * | + | * 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 == |
Latest revision as of 2014-06-24T21:37:15
Description
Change the size of the font when using gb.display.print
.
Syntax
gb.display.fontSize = size;
Value
- 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