public class TransformableContentSuperimposition extends AbstractSuperimposition
Constructor and Description |
---|
TransformableContentSuperimposition(TransformableContent content,
int first,
int duration,
int position)
Explicit Value Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
postRendering(java.awt.Graphics g,
int frame)
Apply the post-rendering portion of
this Superimposition.
|
void |
preRendering(java.awt.Graphics g,
int frame)
Apply the pre-rendering portion of
this Superimposition.
|
getPosition
getFirstFrame, getLastFrame
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstFrame, getLastFrame
public TransformableContentSuperimposition(TransformableContent content, int first, int duration, int position)
content
- The visual content to usefirst
- The first frameduration
- The duration (in frames)position
- The position (SwingConstants.NORTH, ...)public void postRendering(java.awt.Graphics g, int frame)
postRendering
in interface FrameOp
postRendering
in class AbstractSuperimposition
g
- The rendering engineframe
- The current frame numberpublic void preRendering(java.awt.Graphics g, int frame)
preRendering
in interface FrameOp
preRendering
in class AbstractSuperimposition
g
- The rendering engineframe
- The current frame number