Difference between revisions of "FontBase:getLineHeight"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
Returns the distance from one base line to the next.
 
Returns the distance from one base line to the next.
  
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = FontBase:getLineHeight()
 
(number) = FontBase:getLineHeight()
 
</source>
 
</source>

Revision as of 14:28, 13 July 2023

Available since: Gideros 2011.6
Class: FontBase

Description

Returns the distance from one base line to the next.

<syntaxhighlight lang="lua"> (number) = FontBase:getLineHeight() </source>

Return values

Returns (number) The distance from one base line to the next.