lib.tilers
Class SquareTiler

java.lang.Object
  extended by lib.tilers.SquareTiler
All Implemented Interfaces:
Tiler<java.awt.image.BufferedImage>

public class SquareTiler
extends java.lang.Object
implements Tiler<java.awt.image.BufferedImage>

Wrapper class around RectangularTiler

See Also:
RectangularTiler

Constructor Summary
SquareTiler(int blocksInOneSide)
           
 
Method Summary
 java.util.ArrayList<java.awt.image.BufferedImage> tile(java.awt.image.BufferedImage image)
          Tile the given object according
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareTiler

public SquareTiler(int blocksInOneSide)
Method Detail

tile

public java.util.ArrayList<java.awt.image.BufferedImage> tile(java.awt.image.BufferedImage image)
Description copied from interface: Tiler
Tile the given object according

Specified by:
tile in interface Tiler<java.awt.image.BufferedImage>
Parameters:
image - the object to tile
Returns:
an array list holding the tiles of the object