public class Fade extends AbstractTransition
| Constructor and Description |
|---|
Fade(int direction,
int first,
int duration)
Explicit Value Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
postRendering(java.awt.Graphics g,
int frame)
Apply the post-rendering portion of
this Transition.
|
void |
preRendering(java.awt.Graphics g,
int frame)
Apply the pre-rendering portion of
this Transition.
|
getFirstFrame, getLastFrameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFirstFrame, getLastFramepublic static final int FADE_IN
public static final int FADE_OUT
public Fade(int direction,
int first,
int duration)
direction - FADE_IN or FADE_OUTfirst - The first frameduration - The duration (in frames)public void postRendering(java.awt.Graphics g,
int frame)
postRendering in interface FrameOppostRendering in class AbstractTransitiong - The rendering engineframe - The current frame numberpublic void preRendering(java.awt.Graphics g,
int frame)
preRendering in interface FrameOppreRendering in class AbstractTransitiong - The rendering engineframe - The current frame number