Difference between revisions of "love.graphics.arc"

(Created page with "{{newin|0.8.0|080|type=function}} Draws an arc. == Function == === Synopsis === <source lang="lua"> love.graphics.arc( mode, x, y, radius, angle1, angle2, segments ) </source> =...")
 
Line 1: Line 1:
{{newin|0.8.0|080|type=function}}
+
{{newin|[[0.8.0]]|080|type=function}}
 
Draws an arc.
 
Draws an arc.
  

Revision as of 22:09, 3 June 2011

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Draws an arc.

Function

Synopsis

love.graphics.arc( mode, x, y, radius, angle1, angle2, segments )

Arguments

DrawMode mode
How to draw the arc.
number x
The position of the center along x-axis.
number y
The position of the center along y-axis.
number radius
Radius of the arc.
number angle1
The angle at which the arc begins.
number angle2
The angle at which the arc terminates.
number segments (10)
The number of segments used for drawing the arc.

Returns

Nothing.

See Also

Other Languages