Difference between revisions of "Font:setLineHeight"
m |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Sets the line height. | + | 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. | + | 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>. |
− | The default is <code>1.0</code>. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 14: | Line 13: | ||
== See Also == | == See Also == | ||
* [[parent::Font]] | * [[parent::Font]] | ||
+ | * [[Font:getLineHeight]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Sets the line height.}} | {{#set:Description=Sets the line height.}} |
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