Font:getBaseline

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

doc_love
2017-03-21 15:44:14
Comments
Leave a Comment

Please login to continue.