Font:getBaseline

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

Gets the baseline of the Font. Most scripts share the notion of a baseline: an imaginary horizontal line on which characters rest. In some scripts, parts of glyphs lie below the baseline.

Function

Synopsis

baseline = Font:getBaseline( )

Arguments

None.

Returns

number baseline
The baseline of the Font in pixels.

See Also

Other Languages

Personal tools