Difference between revisions of "TextField:setLetterSpacing"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 9: | Line 9: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
TextField:setLetterSpacing(spacing) | TextField:setLetterSpacing(spacing) | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''spacing''': (number) <translate></translate> <br/> | '''spacing''': (number) <translate></translate> <br/> | ||
{{TextField}} | {{TextField}} |
Revision as of 14:33, 13 July 2023
Available since: Gideros 2011.6
Class: TextField
Description
Sets the letter-spacing property which is used to increase or decrease the space between characters in a text.
TextField:setLetterSpacing(spacing)
Parameters
spacing: (number)
- 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