Class Overview
Subclasses of PixelConverter. These subclasses are
specific to surface types where we can definitively
calculate the conversions. Note that some conversions
are lossy; that is, we cannot necessarily convert a
value and then convert it back and wind up with the
original value. For example, an rgb value that has
an alpha != 1 cannot be converted to an Xrgb pixel
without losing the information in the alpha component.
The conversion strategies associated with the ThreeByte*
and FourByte* surface types swap the components around
due to the ordering used when the bytes are stored. The
low order byte of a packed-byte pixel will be the first
byte stored and the high order byte will be the last byte
stored. For example, the ThreeByteBgr surface type is
associated with an Xrgb conversion object because the
three bytes are stored as follows:
pixels[0] = b; // low order byte of an Xrgb pixel
pixels[1] = g;
pixels[2] = r; // high order byte of an Xrgb pixel
Summary
[Expand]
Inherited Methods |
From class
sun.awt.image.PixelConverter
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Fields
Public Methods