TextField:setFont: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.08<br/> | |||
''' | '''Class:''' [[TextField]]<br/> | ||
''' | |||
=== | === Description === | ||
Sets the Font to use. | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
TextField:setFont(font) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | |||
'''font''': (FontBase) | === Parameters === | ||
'''font''': (FontBase) font to use<br/> | |||
{{TextField}} | {{TextField}} | ||
Revision as of 07:12, 18 October 2024
Available since: Gideros 2016.08
Class: TextField
Description
Sets the 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