TextField:setLetterSpacing: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the letter-spacing property which is used to increase or decrease the space between charac..." |
No edit summary |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
'''Class:''' [[TextField]]<br/> | |||
=== Description === | === Description === | ||
Sets the letter-spacing property which is used to increase or decrease the space between characters in a text. | |||
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) | ||
</syntaxhighlight> | |||
</ | === Parameters === | ||
'''spacing | '''spacing''': (number) letter spacing in pixels<br/> | ||
{{TextField}} | |||
Latest revision as of 07:13, 18 October 2024
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) letter spacing in pixels
- 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