Font.new: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Creates a new `Font` object.<br />
Creates a new [[[Font]]] object.<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
  Font.new(txtfile,imagefile,filtering)
  Font.new(txtfile,imagefile,filtering)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''txtfile''': (string) <br/>
'''txtfile''': (string) <translate></translate> <br/>
'''imagefile''': (string) <br/>
'''imagefile''': (string) <translate></translate> <br/>
'''filtering''': (boolean, default = false) Whether or not the font texture is filtered <br/>
'''filtering''': (boolean, default = false) <translate>Whether or not the font texture is filtered</translate> <br/>

Revision as of 12:33, 23 August 2018

Available since: Gideros 2011.6

Description


Creates a new [[[Font]]] object.

 Font.new(txtfile,imagefile,filtering)

Parameters

txtfile: (string)
imagefile: (string)
filtering: (boolean, default = false) Whether or not the font texture is filtered