Font.new: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Class:''' [[Font]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Font|Font]]<br/>
 
=== <translate>Description</translate> ===
=== Description ===
<translate><br />
Creates a new '''Font''' object.
Creates a new `Font` object.<br />
<syntaxhighlight lang="lua">
<br /></translate>
Font.new(txtfile,imagefile,filtering)
<source lang="lua">
</syntaxhighlight>
Font.new(txtfile,imagefile,filtering)
 
</source>
=== Parameters ===
=== <translate>Parameters</translate> ===
'''txtfile''': (string) path to the font text file<br/>
'''txtfile''': (string) <translate></translate> <br/>
'''imagefile''': (string) path to the font image file<br/>
'''imagefile''': (string) <translate></translate> <br/>
'''filtering''': (boolean) whether or not the font texture is filtered (default = false)<br/>
'''filtering''': (boolean, default = false) <translate>Whether or not the font texture is filtered</translate> <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)