Rainbow.txt (2 K)
Preview
/ 2, yCenter - (medRadius + largeRadius) / 2, medRadius, medRadius, 0, 180);
//MAGENTA
g.setColor(Color.MAGENTA);
g.fillArc(xCenter - (smallRadius + largeRadius)/2, yCenter - (smallRadius + largeRadius)/2, smallRadius, smallRadius, 0, 180);
// Calculate the radius of the innermost (sky-color) semicircle
// so that the width
Rainbow.png (98 K)
Preview