public abstract class PixelConverter extends Objectimplements PixelIterator
TYPE_3BYTE_RGB, TYPE_4BYTE_ARGB, TYPE_4BYTE_ARGB_PRE, TYPE_4BYTE_BGRA| Constructor and Description |
|---|
PixelConverter(PixelIterator
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Returns the height of this image.
|
int |
getWidth()
Returns the width of this image.
|
boolean |
isDone()
Whether this iterator is finished or not
|
boolean |
isOpaque()
Returns true if this image is guaranteed to be an opaque image.
|
static boolean |
isOpaque(int imageType)
Returns
true if the image type corresponds to an opaque color model.
|
boolean |
isTopDown()
Indicates whether this iterator returns rows in a top-to-bottom order or a bottom-to-top order
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMinimumArrayLength, getPixelSize, getType, skippublic PixelConverter(PixelIteratori)
public static boolean isOpaque(int imageType)
true if the image type corresponds to an opaque color model.
If an unexpected image type is encountered, this returns true to err on the side of caution.
public boolean isOpaque()
PixelIterator
public int getHeight()
PixelIterator
getHeight in interface
PixelIterator
public int getWidth()
PixelIterator
getWidth in interface
PixelIterator
public boolean isDone()
PixelIterator
isDone in interface
PixelIterator
true if there is no more pixel data to read.
public boolean isTopDown()
PixelIterator