Difference between revisions of "Font.new"

From GiderosMobile
m
Line 11: Line 11:
 
'''txtfile''': (string) path to the font text file<br/>
 
'''txtfile''': (string) path to the font text file<br/>
 
'''imagefile''': (string) path to the font image file<br/>
 
'''imagefile''': (string) path to the font image file<br/>
'''filtering''': (boolean, default = false) whether or not the font texture is filtered<br/>
+
'''filtering''': (boolean) whether or not the font texture is filtered (default = false)<br/>
  
 
{{Font}}
 
{{Font}}

Revision as of 04:15, 13 March 2021

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)