Difference between revisions of "TextField:getSample"
From GiderosMobile
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2016.08<br/> | |
− | ''' | + | '''Class:''' [[TextField]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Gets the String that was used as sample for determining line height. | |
− | < | + | <syntaxhighlight lang="lua"> |
(string) = TextField:getSample() | (string) = TextField:getSample() | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | ''' | + | === Return values === |
+ | '''Returns''' (string) String used as sample<br/> | ||
{{TextField}} | {{TextField}} |
Latest revision as of 08:10, 18 October 2024
Available since: Gideros 2016.08
Class: TextField
Description
Gets the String that was used as sample for determining line height.
(string) = TextField:getSample()
Return values
Returns (string) String used as sample
- 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