Draws a circle.
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.circle( mode, x, y, radius )
</source>
=== 引数 ===
{{param (日本語)|DrawMode|mode|How to draw the circle.}}
{{param (日本語)|number|x|The position of the center along x-axis.}}
{{param (日本語)|number|y|The position of the center along y-axis.}}
{{param (日本語)|number|radius|The radius of the circle.}}
=== 返値 ===
ありません。

== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.circle( mode, x, y, radius, segments )
</source>
=== 引数 ===
{{param (日本語)|DrawMode|mode|How to draw the circle.}}
{{param (日本語)|number|x|The position of the center along x-axis.}}
{{param (日本語)|number|y|The position of the center along y-axis.}}
{{param (日本語)|number|radius|The radius of the circle.}}
{{param (日本語)|number|segments|The number of segments used for drawing the circle. Note: The default variable for the segments parameter varies between different versions of LÖVE.}}
=== 返値 ===
ありません。

== 用例 ==
=== The effect of the segment argument ===
<source lang="lua">
function love.draw()
    love.graphics.setColor(1, 1, 1)
    love.graphics.circle("fill", 300, 300, 50, 100) -- Draw white circle with 100 segments.
    love.graphics.setColor(1, 0, 0)
    love.graphics.circle("fill", 300, 300, 50, 5)   -- Draw red circle with five segments.
end
</source>
== 関連 ==
* [[parent::love.graphics (日本語)]]
[[Category:Functions (日本語)]]
[[Sub-Category::Drawing (日本語)| ]]
{{#set:Description=Draws a circle.}}
{{#set:Since=000}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.circle}}