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