CS 140 - Homework 7 - Due Feb 13

Name:______________________________________


Read pages 157-170.

  1. Write a method flipHorizontal that flips a picture horizontally using the y-axis as a hinge. You are to really implement this in DrJava and make it work.

    Here's an example of what flipHorizontal should do. Here's the original bug picture.

    And here it is flipped.

  2. Use your flip horizontal method in a main program.
  3. Turn in a printout of your flipHorizontal method and your main program.