Difference between revisions of "TextField:setFont"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
TextField:setFont(font) | TextField:setFont(font) | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''font''': (FontBase) <translate>font to use</translate> <br/> | '''font''': (FontBase) <translate>font to use</translate> <br/> | ||
{{TextField}} | {{TextField}} |
Revision as of 14:33, 13 July 2023
Available since: Gideros 2016.08
Class: TextField
Description
set font to use
TextField:setFont(font)
Parameters
font: (FontBase) font to use
- TextField
- TextField.new
- TextField:getLayout
- TextField:getLetterSpacing
- TextField:getLineHeight
- TextField:getPointFromTextPosition
- TextField:getSample
- TextField:getText
- TextField:getTextColor
- TextField:getTextPositionFromPoint
- TextField:setFont
- TextField:setLayout
- TextField:setLetterSpacing
- TextField:setSample
- TextField:setText
- TextField:setTextColor