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.circle( type, x, y, radius, points )
Usage
love.graphics.circle( type, x, y, radius, points )
Arguments
typeThe type of circle (outline/filled).
xThe position on the x-axis.
yThe position on the y-axis.
radiusRadius of the circle.
pointsThe amount of points to use to draw the circle.
Returns
Nothing
Examples
Example 1: Draw two circles. love.graphics.circle(love.draw_fill, 200,200, 50, 5) -- pentagram
love.graphics.circle(love.draw_fill, 400,200, 50, 60) -- detailed circle