Difference between revisions of "Font:setLineHeight"

m (1 revision: Imported docs from potato.)
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 ===
Line 13: Line 16:
 
* [[parent::Font]]
 
* [[parent::Font]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the line height.
 +
}}

Revision as of 16:17, 14 February 2010

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( number )

Arguments

height number
The new line height.

Returns

Nothing.

See Also