List of utility methods to do Draw Arc
void | drawArc(Graphics g, int left, int top, int width, int height, int startAngle, int deltaAngle, int lineWidth) _more_ left = left - lineWidth / 2; top = top - lineWidth / 2; width = width + lineWidth; height = height + lineWidth; for (int i = 0; i < lineWidth; i++) { g.drawArc(left, top, width, height, startAngle, deltaAngle); if ((i + 1) < lineWidth) { g.drawArc(left, top, width - 1, height - 1, startAngle, deltaAngle); ... |
void | drawArc(Graphics2D g, int x, int y, int width, int height, double start, double end, int innerXOffset, int innerYOffset) draw Arc Area a = createArc(x, y, width, height, start, end, innerXOffset, innerYOffset); g.draw(a); |
void | drawCenteredArc(Graphics g, int x, int y, int r, int start, int dist) draw Centered Arc g.drawArc(x - r, y - r, 2 * r, 2 * r, start, dist); |