FontBase:getAscender: Difference between revisions
From GiderosMobile
No edit summary |
---- |
||
| Line 1: | Line 1: | ||
'''Available since:''' Gideros 2011.6<br/> | |||
'''Class:''' [[FontBase]]<br/> | |||
''' | |||
''' | === 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. | ||
Returns the ascender of the font. The ascender of a font is the distance from the baseline to the highest position characters extend to. | |||
<source lang="lua"> | <source lang="lua"> | ||
(number) = FontBase:getAscender() | (number) = FontBase:getAscender() | ||
</source> | </source> | ||
=== | |||
''' | === Return values === | ||
'''Returns''' (number) The ascender of the font<br/> | |||
---- | |||
{{Special:PrefixIndex/FontBase:}} | |||
<br/> | |||
{{Special:PrefixIndex/FontBase.TLF}} | |||
<br/> | |||
Revision as of 20:21, 2 December 2019
Available since: Gideros 2011.6
Class: FontBase
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