com.gif4j
Class CellFilter

java.lang.Object
  extended bycom.gif4j.MorphingFilter
      extended bycom.gif4j.CellFilter

public class CellFilter
extends MorphingFilter

An instance of CellFilter implements the gradual appearance animation in the form of 4 GifFrame(s) look like cells.

Version:
1.0
Author:
Gif4J Software

Field Summary
 
Fields inherited from class com.gif4j.MorphingFilter
DEFAULT_DELAY_BETWEEN_FRAMES
 
Constructor Summary
CellFilter()
          Constructs CellFilter by default: cell side size = 8 px delay between frames = 0.1 sec (10 1/100 sec)
CellFilter(int cellSideSize)
          Constructs CellFilter with the specified cell side size and default delay between frames = 0.1 sec (10 1/100 sec)
CellFilter(int cellSideSize, int delayBetweenFrames)
          Constructs CellFilter with the specified cell side size and delay between frames.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellFilter

public CellFilter()
Constructs CellFilter by default: cell side size = 8 px delay between frames = 0.1 sec (10 1/100 sec)


CellFilter

public CellFilter(int cellSideSize)
Constructs CellFilter with the specified cell side size and default delay between frames = 0.1 sec (10 1/100 sec)

Parameters:
cellSideSize - cell side size in pixels
Throws:
java.lang.IllegalArgumentException - If cell side size less than 1

CellFilter

public CellFilter(int cellSideSize,
                  int delayBetweenFrames)
Constructs CellFilter with the specified cell side size and delay between frames.

Parameters:
cellSideSize - cell side size in pixels
delayBetweenFrames - delay time in 1/100 seconds (100 means 1 second delay) between generated frames.
Throws:
java.lang.IllegalArgumentException - If cell side size less than 1