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