Difference between revisions of "FontBase:getAscender"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2011.6<br/>
<languages />
+
'''Class:''' [[FontBase]]<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/FontBase|FontBase]]<br/>
+
=== Description ===
=== <translate>Description</translate> ===
+
Returns the ascender of the font. The ascender of a font is the distance from the baseline to the highest position characters extend to.
<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 />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(number) = FontBase:getAscender()
 
(number) = FontBase:getAscender()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The ascender of the font</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) The ascender of the font<br/>
 +
 
 +
{{FontBase}}

Latest revision as of 14:29, 13 July 2023

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