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.setLine( width, type )
Usage
love.graphics.setLine( width, type )
Arguments
widthThe width of the line.
typeThe type of line (smooth/rough).
Returns
Nothing
Examples
Example 1: love.graphics.setLine(1, love.line_smooth) -- 1 pixel width smooth lines
love.graphics.setLine(1, love.line_rough) -- 1 pixel width rough lines