如何绘制圆的下半部分 drawArc Java

How to draw bottom half of circle drawArc Java

如何在Java中用drawArc画圆的下半部分?

    g.drawArc(0,0,300,300, 0,-180); //this doesn't work

确保起始方向也旋转:

g.drawArc(0, 0, 300, 300, 180, -180);