public Picture circleNegate(int centerx, int centery, int radius) { int x, y; Pixel pixelObj; for(y=centery-radius; y<=centery+radius; y++) { for(x = centerx-radius; x <= centerx+radius; x++) { if(Math.sqrt((int)((x-centerx)*(x-centerx) + (y-centery)*(y-centery))) <= radius) { pixelObj= this.getPixel(x,y); pixelObj.setRed(255-pixelObj.getRed()); pixelObj.setBlue(255-pixelObj.getBlue()); pixelObj.setGreen(255-pixelObj.getGreen()); } } } return this; } public Picture makeGreen() { Pixel[] pixelArray= getPixels(); Pixel pixelObj= null; int index=0; while (index< pixelArray.length) { pixelObj= pixelArray[index]; pixelObj.setRed(pixelObj.getRed()/2); pixelObj.setBlue(pixelObj.getBlue()/2); pixelObj.setGreen((int)(pixelObj.getGreen()*1.8)); index++; } return this; } public Picture mirrorHorizontal() { int midpoint=this.getHeight()/2; Pixel topPixel, bottomPixel; for(int y=0; y