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.
Version 0.3.2 LÖVE DocumentationOverviewLicenseCreditsInstallingGetting startedDeviceslove.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.systemTypesAnimationColorFontFileImageMusicParticleSystemSoundCallbacksloadupdatedrawmousepressedmousereleasedkeypressedkeyreleasedMiscellaneousConstantsConfig filesKeyboard shortcuts
|
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. |