MediaTracker.addImage
Class Overview | Class Members |
This Package |
All Packages
public void addImage( Image image,
int id )
Parameters
- image
- the image to be tracked.
- id
- an identifier used to track this image.
Description
Adds an image to the list of images being tracked by this media
tracker. The image will eventually be rendered at its default
(unscaled) size.
public synchronized void addImage( Image image,
int id,
int w,
int h )
Parameters
- image
- the image to be tracked.
- id
- an identifier that can be used to track this image.
- w
- the width at which the image is rendered.
- h
- the height at which the image is rendered.
Description
Adds a scaled image to the list of images being tracked
by this media tracker. The image will eventually be
rendered at the indicated width and height.