Java java.awt.image PixelGrabber fields, constructors, methods, implement or subclass

Example usage for Java java.awt.image PixelGrabber fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.image PixelGrabber.

The text is from its open source code.

Constructor

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.

Method

ColorModelgetColorModel()
Get the ColorModel for the pixels stored in the array.
intgetHeight()
Get the height of the pixel buffer (after adjusting for image height).
ObjectgetPixels()
Get the pixel buffer.
intgetStatus()
Return the status of the pixels.
intgetWidth()
Get the width of the pixel buffer (after adjusting for image width).
booleangrabPixels()
Request the Image or ImageProducer to start delivering pixels and wait for all of the pixels in the rectangle of interest to be delivered.
intstatus()
Returns the status of the pixels.