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

(Created page with "绘制一个圆形. == Function == === Synopsis === <source lang="lua"> love.graphics.circle( mode, x, y, radius, segments ) </source> === Arguments === {{param|DrawMode|mode|如...")
 
m
(One intermediate revision by one other user not shown)
Line 21: Line 21:
 
</source>
 
</source>
 
== See Also ==
 
== See Also ==
* [[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