Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1.   public void createCollage()
  2.   {
  3.     Picture flower1 = new Picture("flower1.jpg");
  4.     Picture redMotor = new Picture("redMotorcycle.jpg");
  5.     this.copy(flower1,0,0);
  6.     this.copy(redMotor,100,0);
  7.     this.copy(flower1,200,0);
  8.     Picture flowerNoBlue = new Picture(redMotor);
  9.     flowerNoBlue.zeroGreen();
  10.     this.copy(flowerNoBlue,300,0);
  11.     this.copy(flower1,400,0);
  12.     this.copy(redMotor,500,0);
  13.     this.mirrorVertical();
  14.     this.write("collage.jpg");
  15.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement