Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.graphics.draw( string, x, y )
Draws text in the current color.
Usage
love.graphics.draw( string, x, y )
Arguments
stringA text string.
xThe position on the x-axis.
yThe position on the y-axis.
Returns
Nothing
Examples
Example 1: Draw some text. love.graphics.draw("This is text!", 100, 100)