Difference between revisions of "Font:setLineHeight"
m (1 revision: Imported docs from potato.) |
m |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | Sets the line height. | ||
− | + | When rendering the font in lines the actual height will be determined by the line height multiplied by the height of the font. The default is <code>1.0</code>. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | Font:setLineHeight( | + | Font:setLineHeight( height ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|height | + | {{param|number|height|The new line height.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
== See Also == | == See Also == | ||
* [[parent::Font]] | * [[parent::Font]] | ||
+ | * [[Font:getLineHeight]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Sets the line height.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|Font:setLineHeight}} |
Latest revision as of 08:55, 8 October 2019
Sets the line height.
When rendering the font in lines the actual height will be determined by the line height multiplied by the height of the font. The default is 1.0
.
Function
Synopsis
Font:setLineHeight( height )
Arguments
number height
- The new line height.
Returns
Nothing.
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