|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gif4j.MorphingFilter
com.gif4j.MozaicFilter
An instance of MillFilter
implements the gradual appearance animation
in the form of random mozaic.
Field Summary |
Fields inherited from class com.gif4j.MorphingFilter |
DEFAULT_DELAY_BETWEEN_FRAMES |
Constructor Summary | |
MozaicFilter()
Constructs MozaicFilter by default:
mozaic box size = 4, number of frames = 4 and delay between frames = 0.1 sec (10 1/100 sec) |
|
MozaicFilter(int mozaicBoxSize)
Constructs MozaicFilter with the specified
mozaic box size, default number of frames = 4 and delay between frames = 0.1 sec (10 1/100 sec) |
|
MozaicFilter(int mozaicBoxSize,
int framesNumber)
Constructs MozaicFilter with the specified
mozaic box size, number of frames, and default delay between frames = 0.1 sec (10 1/100 sec) |
|
MozaicFilter(int mozaicBoxSize,
int framesNumber,
int delayBetweenFrames)
Constructs MozaicFilter with the specified
mozaic box size, number of frames and delay between them |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MozaicFilter()
MozaicFilter
by default:
mozaic box size = 4, number of frames = 4 and delay between frames = 0.1 sec (10 1/100 sec)
public MozaicFilter(int mozaicBoxSize)
MozaicFilter
with the specified
mozaic box size, default number of frames = 4 and delay between frames = 0.1 sec (10 1/100 sec)
mozaicBoxSize
- mozaic box size (in pixels)
java.lang.IllegalArgumentException
- If mozaic box size less than 1public MozaicFilter(int mozaicBoxSize, int framesNumber)
MozaicFilter
with the specified
mozaic box size, number of frames, and default delay between frames = 0.1 sec (10 1/100 sec)
mozaicBoxSize
- mozaic box size (in pixels)framesNumber
- how many frames the result animation should contain (must be greater than 1).
java.lang.IllegalArgumentException
- If mozaic box size less than 1
java.lang.IllegalArgumentException
- If number of frames less than 2public MozaicFilter(int mozaicBoxSize, int framesNumber, int delayBetweenFrames)
MozaicFilter
with the specified
mozaic box size, number of frames and delay between them
mozaicBoxSize
- mozaic box size (in pixels)framesNumber
- how many frames the result animation should contain (must be greater than 1).delayBetweenFrames
- delay time in 1/100 seconds (100 means 1 second delay) between generated frames.
java.lang.IllegalArgumentException
- If mozaic box size less than 1
java.lang.IllegalArgumentException
- If number of frames less than 2
java.lang.IllegalArgumentException
- If delay less than 1
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |