public abstract class AbstractTransition extends AbstractFrameOp implements Transition
Constructor and Description |
---|
AbstractTransition(int first,
int duration)
Explicit Value Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
postRendering(java.awt.Graphics g,
int frame)
Apply the post-rendering portion of
this Transition.
|
abstract void |
preRendering(java.awt.Graphics g,
int frame)
Apply the pre-rendering portion of
this Transition.
|
getFirstFrame, getLastFrame
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstFrame, getLastFrame
public AbstractTransition(int first, int duration)
first
- The first frameduration
- The duration (in frames)public abstract void postRendering(java.awt.Graphics g, int frame)
postRendering
in interface FrameOp
postRendering
in class AbstractFrameOp
g
- The rendering engineframe
- The current frame numberpublic abstract void preRendering(java.awt.Graphics g, int frame)
preRendering
in interface FrameOp
preRendering
in class AbstractFrameOp
g
- The rendering engineframe
- The current frame number