Difference between revisions of "love.graphics.getFont"

(See Also)
(See Also)
Line 28: Line 28:
 
* [[Font:getHeight]]
 
* [[Font:getHeight]]
 
* [[Font:getWidth]]
 
* [[Font:getWidth]]
 +
* [[love.graphics.print]]
 +
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the current Font object.}}
 
{{#set:Description=Gets the current Font object.}}

Revision as of 22:37, 5 June 2022

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



Other Languages