visual.dynamic.sampled
Class TransformableContentSuperimposition
java.lang.Object
visual.dynamic.sampled.AbstractFrameOp
visual.dynamic.sampled.AbstractSuperimposition
visual.dynamic.sampled.TransformableContentSuperimposition
- All Implemented Interfaces:
- FrameOp, Superimposition
public class TransformableContentSuperimposition
- extends AbstractSuperimposition
A piece of (transformable) static visual content that is
superimposed on a frame
- See Also:
- "The Design and Implementation of Multimedia Software © 2011"
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformableContentSuperimposition
public TransformableContentSuperimposition(TransformableContent content,
int first,
int duration,
int position)
- Explicit Value Constructor
- Parameters:
content
- The visual content to usefirst
- The first frameduration
- The duration (in frames)position
- The position (SwingConstants.NORTH, ...)
postRendering
public void postRendering(java.awt.Graphics g,
int frame)
- Apply the post-rendering portion of
this Superimposition
- Specified by:
postRendering
in interface FrameOp
- Specified by:
postRendering
in class AbstractSuperimposition
- Parameters:
g
- The rendering engineframe
- The current frame number
preRendering
public void preRendering(java.awt.Graphics g,
int frame)
- Apply the pre-rendering portion of
this Superimposition
- Specified by:
preRendering
in interface FrameOp
- Specified by:
preRendering
in class AbstractSuperimposition
- Parameters:
g
- The rendering engineframe
- The current frame number
Design and Implementation of Multimedia Software, Jones and Bartlett Publishers