Font.new: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Creates a new `Font` object.<br /> <br /> <source lang="lua"> = Font.new(txtfileimagefilefilter..." |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
'''Class:''' [[Font]]<br/> | |||
=== Description === | === Description === | ||
Creates a new '''Font''' object. | |||
Creates a new | <syntaxhighlight lang="lua"> | ||
< | Font.new(txtfile,imagefile,filtering) | ||
</syntaxhighlight> | |||
</ | === Parameters === | ||
'''txtfile | '''txtfile''': (string) path to the font text file<br/> | ||
'''imagefile | '''imagefile''': (string) path to the font image file<br/> | ||
'''filtering | '''filtering''': (boolean) whether or not the font texture is filtered (default = false)<br/> | ||
{{Font}} | |||
Latest revision as of 13:29, 13 July 2023
Available since: Gideros 2011.6
Class: Font
Description
Creates a new Font object.
Font.new(txtfile,imagefile,filtering)
Parameters
txtfile: (string) path to the font text file
imagefile: (string) path to the font image file
filtering: (boolean) whether or not the font texture is filtered (default = false)