Difference between revisions of "Font:getHeight"

m (clarified size unit.)
(See Also)
 
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
height = Font:getHeight( )
+
height = font:getHeight( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::Font]]
 
* [[parent::Font]]
 +
* [[Font:getWidth]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the height of the Font in pixels.
+
{{#set:Description=Gets the height of the Font in pixels.}}
}}
+
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|Font:getHeight}}

Latest revision as of 16:39, 26 March 2021

Gets the height of the Font. The height of the font is the size including any spacing; the height which it will need.

Function

Synopsis

height = font:getHeight( )

Arguments

None.

Returns

number height
The height of the Font in pixels.

See Also


Other Languages