Difference between revisions of "TextField:setLetterSpacing"

From GiderosMobile
 
(6 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 ===
<translate><br />
+
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.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
+
TextField:setLetterSpacing(spacing)
<source lang="lua">
+
</syntaxhighlight>
TextField:setLetterSpacing(spacing)
+
 
</source>
 
 
=== Parameters ===
 
=== Parameters ===
'''spacing''': (number) <translate></translate> <br/>
+
'''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