love.graphics.getFont

Gets the current Font object.

Function

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.

Notes

On version before 0.9.0, nil is returned if there are no fonts set beforehand.

See Also



Other Languages