daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Nov 20th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.   }
RAW Paste Data
Top