Difference between revisions of "love.graphics.newFont"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

Creates a new Font.

Function

Synopsis

font = love.graphics.newFont( filename, size )

Arguments

string filename
The filepath to the font file.
number size (12)
The size of the font.

Returns

Font font
A Font object which can be used to draw text on screen.

See Also