love.graphics.getFont

Gets the current Font object.

Function

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

Synopsis

font = love.graphics.getFont( )

Arguments

None.

Returns

Font font
The current Font. Automatically creates and sets the default font, if none is set yet.

Function

Removed in LÖVE 0.9.0
This variant is not supported in that and later versions.

Synopsis

font = love.graphics.getFont( )

Arguments

None.

Returns

Font font
The current Font, or nil if none is set.

See Also



© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.getFont