{{newin (日本語)|[[0.10.0 (日本語)|0.10.0]]|100|type=関数}}
Draws an ellipse.
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.ellipse( mode, x, y, radiusx, radiusy )
</source>
=== 引数 ===
{{param (日本語)|DrawMode|mode|How to draw the ellipse.}}
{{param (日本語)|number|x|The position of the center along x-axis.}}
{{param (日本語)|number|y|The position of the center along y-axis.}}
{{param (日本語)|number|radiusx|The radius of the ellipse along the x-axis (half the ellipse's width).}}
{{param (日本語)|number|radiusy|The radius of the ellipse along the y-axis (half the ellipse's height).}}
=== 返値 ===
ありません。
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.ellipse( mode, x, y, radiusx, radiusy, segments )
</source>
=== 引数 ===
{{param (日本語)|DrawMode|mode|How to draw the ellipse.}}
{{param (日本語)|number|x|The position of the center along x-axis.}}
{{param (日本語)|number|y|The position of the center along y-axis.}}
{{param (日本語)|number|radiusx|The radius of the ellipse along the x-axis (half the ellipse's width).}}
{{param (日本語)|number|radiusy|The radius of the ellipse along the y-axis (half the ellipse's height).}}
{{param (日本語)|number|segments|The number of segments used for drawing the ellipse.}}
=== 返値 ===
ありません。
== 用例 ==
=== The effect of the segment argument ===
<source lang="lua">
function love.draw()
    love.graphics.setColor(255, 255, 255)
    love.graphics.ellipse("fill", 300, 300, 75, 50, 100) -- Draw white ellipse with 100 segments.
    love.graphics.setColor(255, 0, 0)
    love.graphics.ellipse("fill", 300, 300, 75, 50, 5)   -- Draw red ellipse with five segments.
end
</source>
== 関連 ==
* [[parent::love.graphics (日本語)]]
[[Category:Functions (日本語)]]
[[Sub-Category::Drawing (日本語)| ]]
{{#set:Description=Draws an ellipse.}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.ellipse}}