KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > image > PixelGrabber

java.awt.image
Class PixelGrabber

java.lang.Object
  extended by java.awt.image.PixelGrabber
All Implemented Interfaces:
ImageConsumer
See Also:
Top Examples, Source Code, ColorModel.getRGBdefault()

public void abortGrabbing()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ColorModel getColorModel()
See Also:
setColorModel(ColorModel), ColorModel.getRGBdefault(), getStatus()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getHeight()
See Also:
getStatus()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getPixels()
See Also:
setPixels(int, int, int, int, ColorModel, int[], int, int), setPixels(int, int, int, int, ColorModel, byte[], int, int), getStatus()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getStatus()
See Also:
ImageObserver
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getWidth()
See Also:
getStatus()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean grabPixels()
                   throws InterruptedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean grabPixels(long ms)
                   throws InterruptedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void imageComplete(int status)
See Also:
ImageProducer.removeConsumer(java.awt.image.ImageConsumer), ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PixelGrabber(Image img,
                    int x,
                    int y,
                    int w,
                    int h,
                    boolean forceRGB)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PixelGrabber(Image img,
                    int x,
                    int y,
                    int w,
                    int h,
                    int[] pix,
                    int off,
                    int scansize)
See Also:
ColorModel.getRGBdefault()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PixelGrabber(ImageProducer ip,
                    int x,
                    int y,
                    int w,
                    int h,
                    int[] pix,
                    int off,
                    int scansize)
See Also:
ColorModel.getRGBdefault()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setColorModel(ColorModel model)
See Also:
getColorModel(), ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setDimensions(int width,
                          int height)
See Also:
ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setHints(int hints)
See Also:
ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPixels(int srcX,
                      int srcY,
                      int srcW,
                      int srcH,
                      ColorModel model,
                      byte[] pixels,
                      int srcOff,
                      int srcScan)
See Also:
getPixels(), ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPixels(int srcX,
                      int srcY,
                      int srcW,
                      int srcH,
                      ColorModel model,
                      int[] pixels,
                      int srcOff,
                      int srcScan)
See Also:
getPixels(), ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setProperties(Hashtable<?,?> props)
See Also:
ImageConsumer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void startGrabbing()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int status()
See Also:
getStatus(), ImageObserver
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags