Miscellany
public java v1 · immutablepublic void mirror() { int height = getHeight(); int width = getWidth(); for(int y = 0; y < height; y++) { for(int x = 0; x < width/2; x++) { System.out.println(x + " - " + y); Color thisPixel = getPixel(x, y); Color thatPixel = getPixel(width - x, y); setPixel(x, y, thatPixel); setPixel(width - x, y, thisPixel); } } }