Difference between revisions of "Font:getHeight"
m (1 revision: Imported docs from potato.) |
(→See Also) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Gets the height of the Font. | |
− | + | The height of the font is the size including any spacing; the height which it will need. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | height = | + | height = font:getHeight( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number|height|The height of the Font.}} | + | {{param|number|height|The height of the Font in pixels.}} |
== See Also == | == See Also == | ||
* [[parent::Font]] | * [[parent::Font]] | ||
+ | * [[Font:getWidth]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info