Difference between revisions of "love.graphics.newFont"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Creates a new Font. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 14: | Line 14: | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Creates a new Font.}} |
Revision as of 16:17, 14 February 2010
Creates a new Font.
Function
Synopsis
font = love.graphics.newFont( filename, size )
Arguments
Returns
Font font
- A Font object which can be used to draw text on screen.