Difference between revisions of "TextField:setLetterSpacing"
From GiderosMobile
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | ''' | + | '''Available since:''' Gideros 2011.6<br/> |
− | ''' | + | '''Class:''' [[TextField]]<br/> |
− | === | + | |
− | + | === 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''': (number) | + | '''spacing''': (number) letter spacing in pixels<br/> |
+ | |||
+ | {{TextField}} |
Latest revision as of 08: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