Flag | Description |
---|---|
RANDOMPIXELORDER | Data sent in random order. |
TOPDOWNLEFTRIGHT | Data sent from left to right andd top to bottom. |
COMPLETESCANLINES | Complete scan lines are sent when called setPixels() method. |
SINGLEPASS | Single pixel is sent only once. |
SINGLEFRAME | These pixels represents a single image. |
Flag | Description |
---|---|
STATICIMAGEDONE | Only one static image is done. |
SINGLEFRAMEDONE | Only a single frame of the image is done. |
IMAGEERROR | Occurrence of error while creating an image |
Flag | Description |
---|---|
HEIGHT | This returns the image height. |
WIDTH | This is returned if the width of the image is available. |
FRAMEBITS | This is returned if a frame is passed out of multiple frames. |
SOMEBITS | This is returned if the width of the image is available. |
ALLBITS | It is returned when the image is complete. |
ABORT | This method is returned when Image loading is aborted. |
ERROR | Image processing interruption is given by this method. |
public PixelGrabber (ImageProducer ip, int x, int y, int width, int height, int pixels[], int offset, int scansize)
public synchronized boolean grabPixels (long ms) throws InterruptedException
public synchronized void startGrabbing()
public synchronized void abortGrabbing()
public synchronized ColorModel getColorModel()