public class RectangleWipe extends AbstractTransition
Constructor and Description |
---|
RectangleWipe(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, getLastFrame
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstFrame, getLastFrame
public RectangleWipe(int first, int duration)
first
- The first frameduration
- The duration (in frames)public void preRendering(java.awt.Graphics g, int frame)
preRendering
in interface FrameOp
preRendering
in class AbstractTransition
g
- The rendering engineframe
- The current frame numberpublic void postRendering(java.awt.Graphics g, int frame)
postRendering
in interface FrameOp
postRendering
in class AbstractTransition
g
- The rendering engineframe
- The current frame number