September 1998
Intermediate to advanced
970 pages
18h 42m
English
Image consumers receive image data from an image producer. The methods defined by the ImageConsumer interface are listed in Table 6-2.
| Method | Intent |
|---|---|
| void imageComplete(int) | Signifies that the producer is finished delivering image data |
| void setColorModel(ColorModel) | Indicates the color model used for the majority of the calls to setPixels() |
| void setDimensions(int,int) | Specifies the width and height of the image |
| void setHints(int) | Indicates the order in which pixels will be delivered |
| void setProperties(Hashtable) | Sets properties associated with the filtered image |
| void setPixels(int,int,int,int, ColorModel, byte[], int, int) | Delivers pixels in a byte array |
| void setPixels(int,int,int,int, ... |
Read now
Unlock full access