Need Help with Arc

gui

#1

Hello! I dont understand how to work with arcs. So can anyone help me please with it?
I tried to create an arc but it is a bit strange

Path ARC;
ARC.addArc(300,100,200,200,0,1.5,true);
g.fillPath(ARC);

It gives me this result:
1

So why this arc is just like fading?
And how can I set a thickness of it?
Thank You!


#2

Try something like g.strokePath (ARC, PathStrokeType (4.0f)); instead of fillPath() to give thickness.


#3

@noahdayan OH Thank You!