Difference between revisions of "Font:setLineHeight"

m
m
Line 6: Line 6:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Font:setLineHeight( number )
+
Font:setLineHeight( height )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|height|number|The new line height.}}
+
{{param|number|height|The new line height.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.

Revision as of 21:51, 8 January 2011

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