Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Function
love.graphics.printf( text, x, y, limit, align )
Draws formatted text, with word wrap and alignment.
Synopsis
love.graphics.printf( text, x, y, limit, align )
Parameters
text
string
A text string.
x
number
The position on the x-axis.
y
number
The position on the y-axis.
limit
number
Wrap the line after this many horizontal pixels.
align
= "left"
AlignMode
The alignment.
See Also
love.graphics.print
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question