Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void createCollage()
- {
- Picture flower1 = new Picture("flower1.jpg");
- Picture redMotor = new Picture("redMotorcycle.jpg");
- this.copy(flower1,0,0);
- this.copy(redMotor,100,0);
- this.copy(flower1,200,0);
- Picture flowerNoBlue = new Picture(redMotor);
- flowerNoBlue.zeroGreen();
- this.copy(flowerNoBlue,300,0);
- this.copy(flower1,400,0);
- this.copy(redMotor,500,0);
- this.mirrorVertical();
- this.write("collage.jpg");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement