Difference between revisions of "FontBase:getAscender"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the ascender of the font. The ascender of a font is the distance from the baseline to t...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = FontBase:getAscender()
+
(number) = FontBase:getAscender()
 
</source>
 
</source>
 
'''Returns''' (number) The ascender of the font<br/>
 
'''Returns''' (number) The ascender of the font<br/>

Revision as of 11:20, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the ascender of the font. The ascender of a font is the distance from the baseline to the highest position characters extend to.

(number) = FontBase:getAscender()

Returns (number) The ascender of the font