1 7 8 package java.awt.image; 9 10 import java.util.Hashtable ; 11 12 23 public interface ImageConsumer { 24 30 void setDimensions(int width, int height); 31 32 37 void setProperties(Hashtable <?,?> props); 38 39 55 void setColorModel(ColorModel model); 56 57 72 void setHints(int hintflags); 73 74 81 int RANDOMPIXELORDER = 1; 82 83 87 int TOPDOWNLEFTRIGHT = 2; 88 89 94 int COMPLETESCANLINES = 4; 95 96 104 int SINGLEPASS = 8; 105 106 118 int SINGLEFRAME = 16; 119 120 140 void setPixels(int x, int y, int w, int h, 141 ColorModel model, byte pixels[], int off, int scansize); 142 143 164 void setPixels(int x, int y, int w, int h, 165 ColorModel model, int pixels[], int off, int scansize); 166 167 178 void imageComplete(int status); 179 180 184 int IMAGEERROR = 1; 185 186 191 int SINGLEFRAMEDONE = 2; 192 193 198 int STATICIMAGEDONE = 3; 199 200 204 int IMAGEABORTED = 4; 205 } 206 | Popular Tags |