arc()

Description
Draws an arc

Syntax


arc(xCenter, yCenter, xDiameter, yDiameter, startAngle, endAngle);


Parameters
xCenter – 0 to 319
yCenter – 0 to 239
xDiameter
yDiameter
startAngle – in radians
endAngle – in radians

Returns
none

Related
none

Bugs
Not sure this is fully implemented or tested yet
Why spec angles in radians rather than degrees?
fill color doesn’t fully fill the arc, some background pixels left unchanged.




Edit History