Difference between revisions of "TextField:setFont"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.08<br/> === Description === set font to use <source lang="lua"> = TextField:setFont(font,) </source> '''font:''' (FontBase) font...") |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.08<br/> | '''Available since:''' Gideros 2016.08<br/> | ||
+ | '''Class:''' [[TextField]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Sets the Font to use. | |
− | < | + | <syntaxhighlight lang="lua"> |
− | + | TextField:setFont(font) | |
− | </ | + | </syntaxhighlight> |
− | '''font | + | |
+ | === Parameters === | ||
+ | '''font''': (FontBase) font to use<br/> | ||
+ | |||
+ | {{TextField}} |
Latest revision as of 08: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