Difference between revisions of "love.graphics.newImageFont"
Fierceform (talk | contribs) (→Function) |
|||
Line 23: | Line 23: | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
+ | * [[Constructs::Font]] | ||
* [[ImageFontFormat | Image Font Format]] | * [[ImageFontFormat | Image Font Format]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Creates a new font by loading a specifically formatted image.}} | {{#set:Description=Creates a new font by loading a specifically formatted image.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.newImageFont}} | {{i18n|love.graphics.newImageFont}} |
Revision as of 09:55, 25 March 2011
Creates a new font by loading a specifically formatted image.
Contents
Function
Synopsis
font = love.graphics.newImageFont( image, glyphs )
Arguments
Image image
- The Image object to create the font from.
string glyphs
- A string of the characters in the image in order from left to right.
Returns
Font font
- A Font object which can be used to draw text on screen.
Function
Synopsis
font = love.graphics.newImageFont( filename, glyphs )
Arguments
string filename
- The filepath to the image file.
string glyphs
- A string of the characters in the image in order from left to right.
Returns
Font font
- A Font object which can be used to draw text on screen.
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