love.graphics.drawf( string, x, y, limit )
Draws text in the current color, with word wrap.
Usage
love.graphics.drawf( string, x, y, limit )
Arguments
stringA text string.
xThe position on the x-axis.
yThe position on the y-axis.
limitWrap the line after this many horizontal pixels.
Returns
Nothing
Examples
Example 1: Draw text that cannot go beyond a 100 pixel wide box.
love.graphics.draw("This text is going to be broken by the auto-breaker! Breakdown!", 50, 50, 100)