java.lang.Objectjava.awt.Image
Direct Known Subclasses:
VolatileImage, BufferedImage
Image
is the superclass of all
classes that represent graphical images. The image must be
obtained in a platform-specific manner.Sami
- ShaioArthur
- van HoffJDK1.0
- Field Summary | ||
---|---|---|
protected float | accelerationPriority | Priority for accelerating this image. Subclasses are free to
set different default priorities and applications are free to
set the priority for specific images via the
setAccelerationPriority(float) method.
|
public static final Object | UndefinedProperty | The UndefinedProperty object should be returned whenever a
property which was not defined for a particular image is fetched. |
public static final int | SCALE_DEFAULT | Use the default image-scaling algorithm.
|
public static final int | SCALE_FAST | Choose an image-scaling algorithm that gives higher priority
to scaling speed than smoothness of the scaled image.
|
public static final int | SCALE_SMOOTH | Choose an image-scaling algorithm that gives higher priority
to image smoothness than scaling speed.
|
public static final int | SCALE_REPLICATE | Use the image scaling algorithm embodied in the
ReplicateScaleFilter class.
The Image object is free to substitute a different filter
that performs the same algorithm yet integrates more efficiently
into the imaging infrastructure supplied by the toolkit.
|
public static final int | SCALE_AREA_AVERAGING | Use the Area Averaging image scaling algorithm. The
image object is free to substitute a different filter that
performs the same algorithm yet integrates more efficiently
into the image infrastructure supplied by the toolkit.
|
SurfaceManager | surfaceManager |
Method from java.awt.Image Summary: |
---|
flush, getAccelerationPriority, getCapabilities, getGraphics, getHeight, getProperty, getScaledInstance, getSource, getWidth, setAccelerationPriority |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from java.awt.Image Detail: |
---|
Examples of how this method affects specific types of Image object: |
|
|
|
-1 and the specified
ImageObserver object is notified later. |
Individual property names are defined by the various image
formats. If a property is not defined for a particular image, this
method returns the
If the properties for this image are not yet known, this method
returns
The property name |
Image object is returned which will render
the image at the specified width and
height by default. The new Image object
may be loaded asynchronously even if the original source image
has already been loaded completely.
If either |
|
-1 and the specified
ImageObserver object is notified later. |
|