Version 0.1.1a
LÖVE Documentation
OverviewLicenceCreditsGetting started
Devices
love.objectslove.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timer
Types
ColorFontImageMusicSound
Callbacks
loadupdaterendermousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig files
Function
Font:getWidth( line )
Determines the line length. Does not support line-breaks.
Usage
Font:getWidth( line )
Arguments
lineA line of text.
Returns
numberThe width of the font.