Difference between revisions of "Font:setLineHeight"

m (Add link to getter.)
m
 
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 ===

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