Fields Summary |
---|
public static final int | RANDOMPIXELORDERThe Constant RANDOMPIXELORDER indicates that the pixels are delivered in
a random order. |
public static final int | TOPDOWNLEFTRIGHTThe Constant TOPDOWNLEFTRIGHT indicates that the pixels are delivered in
top-down, left-to-right order. |
public static final int | COMPLETESCANLINESThe Constant COMPLETESCANLINES indicates that the pixels are delivered in
complete scanline. |
public static final int | SINGLEPASSThe Constant SINGLEPASS indicates that pixels are delivered in a single
pass. |
public static final int | SINGLEFRAMEThe Constant SINGLEFRAME indicates that image consists of single frame. |
public static final int | IMAGEERRORThe Constant IMAGEERROR indicates an image error during image producing. |
public static final int | SINGLEFRAMEDONEThe Constant SINGLEFRAMEDONE indicates that only one of the image's
frames is completed. |
public static final int | STATICIMAGEDONEThe Constant STATICIMAGEDONE indicates that the image is completed. |
public static final int | IMAGEABORTEDThe Constant IMAGEABORTED indicates that the image producing process is
aborted. |
Methods Summary |
---|
public void | imageComplete(int status)THis method is called in the one of the following cases:
- The ImageProducer (for which this ImageConsumer is added) has been
delivered all pixels of the source image.
- A one frame of an animation has been completed.
- An error while loading or producing of the image has occurred.
|
public void | setColorModel(java.awt.image.ColorModel model)Sets the ColorModel object.
|
public void | setDimensions(int width, int height)Sets the dimensions of a source image.
|
public void | setHints(int hintflags)Sets the hint flags of pixels order, which is used by the ImageConsumer
for obtaining pixels from the ImageProducer for which this ImageConsumer
is added.
|
public void | setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, int[] pixels, int off, int scansize)Sets the pixels for the specified rectangular area of the image.
|
public void | setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, byte[] pixels, int off, int scansize)Sets the pixels for the specified rectangular area of the image.
|
public void | setProperties(java.util.Hashtable props)Sets the properties for the image associated with this ImageConsumer.
|