code: public void setArcByCenter (float x, float y, float radius,
                                  float start, float extent, int type) {
          setArc(x - radius, y - radius, radius * 2f, radius * 2f, start, extent, type);
      }
docs: Sets the location, size, angular extents, and closure type of this arc based on the
  specified values.