Difference between revisions of "love.graphics.newImageFont"
m (1 revision: Imported docs from potato.) |
|
(No difference)
|
Revision as of 15:54, 14 February 2010
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.