Difference between revisions of "Font.new"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 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>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Creates a new [[Special:MyLanguage/Font|Font]] object.<br />
+
Creates a new '''Font''' object.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
+
Font.new(txtfile,imagefile,filtering)
Font.new(txtfile,imagefile,filtering)
+
</syntaxhighlight>
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''txtfile''': (string) <translate></translate> <br/>
+
'''txtfile''': (string) path to the font text file<br/>
'''imagefile''': (string) <translate></translate> <br/>
+
'''imagefile''': (string) path to the font image file<br/>
'''filtering''': (boolean, default = false) <translate>Whether or not the font texture is filtered</translate> <br/>
+
'''filtering''': (boolean) whether or not the font texture is filtered (default = false)<br/>
 +
 
 +
{{Font}}

Latest revision as of 14: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)