Draw the modified image on the beach scene
When the setOpacity method returns
- from setting every pixel in the butterfly image
- to
the specified opacity,
Listing 5 calls the method named drawPictureOnPicture
- to draw the modified butterfly image
- on the beach scene as shown in Figure 1.