Difference between revisions of "love.graphics.circle (简体中文)"

(Parent correction.)
m
Line 23: Line 23:
 
* [[parent::love.graphics (简体中文)]]
 
* [[parent::love.graphics (简体中文)]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Sub-Category::Drawing (简体中文)| ]]
 
{{#set:Description=Draws a circle.绘制一个圆形.}}
 
{{#set:Description=Draws a circle.绘制一个圆形.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.circle}}
 
{{i18n|love.graphics.circle}}

Revision as of 00:21, 4 April 2013

绘制一个圆形.

Function

Synopsis

love.graphics.circle( mode, x, y, radius, segments )

Arguments

DrawMode mode
如何绘制这个圆.
number x
X坐标.
number y
Y坐标.
number radius
圆的半径.
number segments (10)
绘制段数.

Returns

Nothing.

Examples

An amazing circle.

function love.draw()
	love.graphics.circle("fill", 300, 300, 50)
end

See Also


Other Languages