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.setColor( color )
Usage
love.graphics.setColor( color )
Arguments
colorA Color object.
Returns
Nothing
Examples
Example 1: Set the current color as red. red = love.graphics.newColor(255, 0, 0)
love.graphics.setColor(red)