Difference between revisions of "love.graphics.printf"

m
Line 17: 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.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.printf}}
 
{{i18n|love.graphics.printf}}

Revision as of 10:18, 25 March 2011

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