is there this kind of function available in AS3:
g.fillArc(5,5,w-10,h-10,90,-360*value/limit); // JAVA
is there this kind of function available in AS3:
g.fillArc(5,5,w-10,h-10,90,-360*value/limit); // JAVA
None that I know of. You should be able to simulate its behavior by appropriate call(s) to Graphics.curveTo()
, though. It's determining the correct control points that makes it inconvenient, but its doable. Here's a document on how to approximate a circle with Bezier curves, this could come handy when determining the correct parameters.
Hi Tom
This is probably your solution: http://www.pixelwit.com/blog/2008/12/drawing-closed-arc-shape/