funworld
Class OverlayImages

java.lang.Object
  extended by funworld.WorldImage
      extended by funworld.OverlayImagesXY
          extended by funworld.OverlayImages

public class OverlayImages
extends OverlayImagesXY

The class to represent an overlay of the top image on the bottom one combined into WorldImage to be drawn by the World when drawing on its Canvas.

A convenience class that extends the OverlayImages by invoking its constructor with dx = 0 and dy = 0.

Since:
February 4 2012
Author:
Viera K. Proulx

Field Summary
 
Fields inherited from class funworld.OverlayImagesXY
bot, dx, dy, top
 
Fields inherited from class funworld.WorldImage
color, pinhole
 
Constructor Summary
OverlayImages(WorldImage bot, WorldImage top)
          The only constructor - invokes the constructor in the super class OverlayImages with no offset.
 
Method Summary
 
Methods inherited from class funworld.OverlayImagesXY
getHeight, getWidth, movePinhole, moveTo
 
Methods inherited from class funworld.WorldImage
overlayImages
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlayImages

public OverlayImages(WorldImage bot,
                     WorldImage top)
The only constructor - invokes the constructor in the super class OverlayImages with no offset.

Parameters:
bot - the bottom image for the combined image
top - the bottom image for the combined image