Example usage for Java java.awt.image PixelGrabber fields, constructors, methods, implement or subclass
The text is from its open source code.
PixelGrabber(Image img, int x, int y, int w, int h, boolean forceRGB) Create a PixelGrabber object to grab the (x, y, w, h) rectangular section of pixels from the specified image. | |
PixelGrabber(Image img, int x, int y, int w, int h, int[] pix, int off, int scansize) Create a PixelGrabber object to grab the (x, y, w, h) rectangular section of pixels from the specified image into the given array. | |
PixelGrabber(ImageProducer ip, int x, int y, int w, int h, int[] pix, int off, int scansize) Create a PixelGrabber object to grab the (x, y, w, h) rectangular section of pixels from the image produced by the specified ImageProducer into the given array. |
ColorModel | getColorModel() Get the ColorModel for the pixels stored in the array. |
int | getHeight() Get the height of the pixel buffer (after adjusting for image height). |
Object | getPixels() Get the pixel buffer. |
int | getStatus() Return the status of the pixels. |
int | getWidth() Get the width of the pixel buffer (after adjusting for image width). |
boolean | grabPixels() Request the Image or ImageProducer to start delivering pixels and wait for all of the pixels in the rectangle of interest to be delivered. |
int | status() Returns the status of the pixels. |