public abstract class AbstractFrameOp extends java.lang.Object implements FrameOp
Constructor and Description |
---|
AbstractFrameOp(int first,
int duration)
Explicit Value Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFirstFrame()
Get the index of the first frame of this FrameOp.
|
int |
getLastFrame()
Get the index of the last frame of this FrameOp.
|
abstract void |
postRendering(java.awt.Graphics g,
int frame)
Apply the post-rendering portion of
this FrameOp.
|
abstract void |
preRendering(java.awt.Graphics g,
int frame)
Apply the pre-rendering portion of
this FrameOp
|
public AbstractFrameOp(int first, int duration)
first
- The first frameduration
- The duration (in frames)public int getFirstFrame()
getFirstFrame
in interface FrameOp
public int getLastFrame()
getLastFrame
in interface FrameOp
public abstract void postRendering(java.awt.Graphics g, int frame)
postRendering
in interface FrameOp
g
- The rendering engineframe
- The current frame numberpublic abstract void preRendering(java.awt.Graphics g, int frame)
preRendering
in interface FrameOp
g
- The rendering engineframe
- The current frame number