Difference between revisions of "love.graphics.getFont"
(Tag: Undo) |
(→See Also) |
||
Line 26: | Line 26: | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
* [[love.graphics.setFont]] | * [[love.graphics.setFont]] | ||
+ | * [[Font:getHeight]] | ||
+ | * [[Font:getWidth]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Gets the current Font object.}} | {{#set:Description=Gets the current Font object.}} | ||
Line 31: | Line 33: | ||
{{#set:PrettySince=0.9.0}} | {{#set:PrettySince=0.9.0}} | ||
{{#set:Sub-Category=State}} | {{#set:Sub-Category=State}} | ||
+ | |||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.getFont}} | {{i18n|love.graphics.getFont}} |
Revision as of 11:29, 21 March 2022
Gets the current Font object.
Contents
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info