Difference between revisions of "TextField:getLayout"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(table) = TextField:getLayout() | (table) = TextField:getLayout() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (table) <translate>Layout parameters</translate><br/> | '''<translate>Returns</translate>''' (table) <translate>Layout parameters</translate><br/> | ||
{{TextField}} | {{TextField}} |
Revision as of 14:33, 13 July 2023
Available since: Gideros 2017.10
Class: TextField
Description
Retrieve the layout parameters of this TextField
(table) = TextField:getLayout()
Return values
Returns (table) Layout parameters
- 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