Difference between revisions of "love.graphics.printf"

(Add a link to love.graphics.print)
Line 1: Line 1:
 
Draws formatted text, with word wrap and alignment.
 
Draws formatted text, with word wrap and alignment.
 +
 +
See additional notes in [[love.graphics.print]].
 +
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 02:24, 4 February 2012

Draws formatted text, with word wrap and alignment.

See additional notes in love.graphics.print.

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