 using {@link ShapeType#Line} or {@link ShapeType#Filled}. */  public void arc(float x, float y, float radius, float start, float degrees, int segments) {   if (segments <= 0) throw new IllegalArgumentException("segments must be > 0.");   float colorBits = color.toFloatBits();   float 