Difference between revisions of "Rasterizer:getHeight"

m (More info)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
TODO
+
{{newin|[[0.7.0]]|070|type=function}}
 
+
Gets font height.
== See Also ==
 
* [[parent::Rasterizer]]
 
 
 
[[Category:Functions]]
 
 
 
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxes]]}}
 
Gets the direction of each axis.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
axisDir1, axisDir2, ..., axisDirN = Joystick:getAxes( )
+
height = Rasterizer:getHeight()
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|axisDir1|Direction of axis1.}}
+
{{param|number|height|Font height}}
{{param|number|axisDir2|Direction of axis2.}}
 
{{param|number|axisDirN|Direction of axisN.}}
 
  
 +
== See Also ==
 +
* [[parent::Rasterizer]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the direction of each axis.}}
+
{{#set:Description=Gets font height.}}
 +
 
 
== Other Languages ==
 
== Other Languages ==
{{i18n|Joystick:getAxes}}
+
{{i18n|Rasterizer:getHeight}}

Latest revision as of 13:26, 16 April 2020

Available since LÖVE 0.7.0
This function is not supported in earlier versions.

Gets font height.

Function

Synopsis

height = Rasterizer:getHeight()

Arguments

None.

Returns

number height
Font height

See Also


Other Languages