Difference between revisions of "TextField:getLetterSpacing"
From GiderosMobile
| m (Text replacement - "<source" to "<syntaxhighlight") | |||
| Line 7: | Line 7: | ||
| Returns the letter-spacing property which is used to increase or decrease the space between characters in a text.<br /> | Returns the letter-spacing property which is used to increase or decrease the space between characters in a text.<br /> | ||
| <br /></translate> | <br /></translate> | ||
| − | < | + | <syntaxhighlight lang="lua"> | 
| (number) = TextField:getLetterSpacing() | (number) = TextField:getLetterSpacing() | ||
| </source> | </source> | ||
Revision as of 14:31, 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.
<syntaxhighlight lang="lua">
(number) = TextField:getLetterSpacing()
</source>
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
