FontBase:getAscender: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Returns the ascender of the font. The ascender of a font is the distance from the baseline to the highest position characters extend to.<br />
Returns the ascender of the font. The ascender of a font is the distance from the baseline to the highest position characters extend to.<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(number) = FontBase:getAscender()
(number) = FontBase:getAscender()
</source>
</source>
=== Return values ===
=== Return values ===
'''Returns''' (number) The ascender of the font<br/>
'''Returns''' (number) <translate>The ascender of the font</translate><br/>

Revision as of 12:33, 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()

Return values

Returns (number) The ascender of the font