Hello,
in Java/C# you can use g.DrawEllipse to draw some kind of circle. How to draw it in J2ME?
Hello,
in Java/C# you can use g.DrawEllipse to draw some kind of circle. How to draw it in J2ME?
g.drawArc(x, y,width, height, startAngle, arcAngle);
x,y,width and height will form a rectangle
you may draw a circle by circling an arc around the rectangle, for example startAngle should be 0 and arcAngle is 360, then you have yourself a circle.
If you prefer a filled arc then use
g.fillArc with the same arguments
hope that helps
It does. Thank you very much! Didn't know the "0" to "360" part.