Version 0.2.0
LÖVE Documentation
OverviewLicenceCreditsGetting started
Devices
love.objectslove.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timer
Types
AnimationColorFontImageMusicSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.graphics:draw( string, x, y, limit, align )
Draws text in the current color, with word wrap and alignment.
Usage
love.graphics:draw( string, x, y, limit, align )
Arguments
stringA text string.
xThe position on the x-axis.
yThe position on the y-axis.
limitWrap the line after this many horizontal pixels.
alignlove.align_left/center/right
Returns
Nothing