Difference between revisions of "TextField:setFont"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
(One intermediate revision by one other user not shown) | |||
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> |
− | === | + | |
− | '''font''': (FontBase) | + | === Parameters === |
+ | '''font''': (FontBase) font to use<br/> | ||
{{TextField}} | {{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