Difference between revisions of "TextField:getLineHeight"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Get line height</translate> | <translate>Get line height</translate> | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = TextField:getLineHeight() | (number) = TextField:getLineHeight() | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2016.08
Class: TextField
Description
Get line height <syntaxhighlight lang="lua"> (number) = TextField:getLineHeight() </source>
Return values
Returns (number) line height 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