import java.awt.Color; import java.awt.Dimension; public class MirrorHorizontally extends Command { public MirrorHorizontally () { super("Mirror Horizontally"); } public void execute (Pixmap target) { Dimension bounds = target.getSize(); // TODO: mirror target image along horizontal middle line by swapping // each color on top with one on the bottom } }