Difference between revisions of "love.graphics.printf"

m (1 revision: Importing from potato (again).)
m
Line 1: Line 1:
 
 
Draws formatted text, with word wrap and alignment.
 
Draws formatted text, with word wrap and alignment.
 
== Function ==
 
== Function ==
Line 18: Line 17:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Draws formatted text, with word wrap and alignment.}}
 
{{#set:Description=Draws formatted text, with word wrap and alignment.}}
 +
== Other Languages ==
 +
{{i18n|love.graphics.printf}}

Revision as of 20:19, 18 November 2010

Draws formatted text, with word wrap and alignment.

Function

Synopsis

love.graphics.printf( text, x, y, limit, align )

Arguments

string text
A text string.
number x
The position on the x-axis.
number y
The position on the y-axis.
number limit
Wrap the line after this many horizontal pixels.
AlignMode align ("left")
The alignment.

Returns

Nothing.

See Also

Other Languages