public abstract class AbstractSuperimposition extends AbstractFrameOp implements Superimposition
Constructor and Description |
---|
AbstractSuperimposition(int first,
int duration,
int position)
Explicit Value Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPosition()
Get the position.
|
abstract void |
postRendering(java.awt.Graphics g,
int frame)
Apply the post-rendering portion of
this Superimposition.
|
abstract void |
preRendering(java.awt.Graphics g,
int frame)
Apply the pre-rendering portion of
this Superimposition.
|
getFirstFrame, getLastFrame
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstFrame, getLastFrame
public AbstractSuperimposition(int first, int duration, int position)
first
- The first frameduration
- The duration (in frames)position
- The positionpublic int getPosition()
Possible values: javax.SwingConstants.NORTH, NORTH_EAST, EAST, SOUTH_EAST, SOUTH, SOUTH_WEST, WEST, NORTH_WEST, or CENTER).
getPosition
in interface Superimposition
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