Difference between revisions of "Font:setLineHeight"

m
m
 
(2 intermediate revisions by 2 users 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.}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Font:setLineHeight}}
 
{{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