| java.lang.Object java.awt.image.ImageFilter java.awt.image.BufferedImageFilter
Method Summary | |
public BufferedImageOp | getBufferedImageOp() Returns the BufferedImageOp . | public void | imageComplete(int status) Filters the information provided in the imageComplete
method of the ImageConsumer interface.
Note: This method is intended to be called by the
ImageProducer of the Image whose pixels
are being filtered. | public void | setColorModel(ColorModel model) Filters the information provided in the
ImageConsumer.setColorModel(ColorModel) setColorModel method
of the ImageConsumer interface.
If model is null , this
method clears the current ColorModel of this
BufferedImageFilter .
Note: This method is intended to be called by the
ImageProducer of the Image
whose pixels are being filtered. | public void | setDimensions(int width, int height) Filters the information provided in the
ImageConsumer.setDimensions(intint) setDimensions method
of the
ImageConsumer interface.
Note: This method is intended to be called by the
ImageProducer of the Image whose pixels are
being filtered. | public void | setPixels(int x, int y, int w, int h, ColorModel model, byte pixels, int off, int scansize) Filters the information provided in the setPixels
method of the ImageConsumer interface which takes
an array of bytes.
Note: This method is intended to be called by the
ImageProducer of the Image whose pixels
are being filtered. | public void | setPixels(int x, int y, int w, int h, ColorModel model, int pixels, int off, int scansize) Filters the information provided in the setPixels
method of the ImageConsumer interface which takes
an array of integers.
Note: This method is intended to be called by the
ImageProducer of the Image whose
pixels are being filtered. |
bytePixels | byte[] bytePixels(Code) | | |
intPixels | int[] intPixels(Code) | | |
BufferedImageFilter | public BufferedImageFilter(BufferedImageOp op)(Code) | | Constructs a BufferedImageFilter with the
specified single-source/single-destination operator.
Parameters: op - the specified BufferedImageOp touse to filter a BufferedImage throws: NullPointerException - if op is null |
getBufferedImageOp | public BufferedImageOp getBufferedImageOp()(Code) | | Returns the BufferedImageOp .
the operator of this BufferedImageFilter . |
imageComplete | public void imageComplete(int status)(Code) | | Filters the information provided in the imageComplete
method of the ImageConsumer interface.
Note: This method is intended to be called by the
ImageProducer of the Image whose pixels
are being filtered. Developers using
this class to retrieve pixels from an image should avoid calling
this method directly since that operation could result in problems
with retrieving the requested pixels.
Parameters: status - the status of image loading throws: ImagingOpException - if there was a problem calling the filtermethod of the BufferedImageOp associated with this instance. See Also: ImageConsumer.imageComplete |
setColorModel | public void setColorModel(ColorModel model)(Code) | | Filters the information provided in the
ImageConsumer.setColorModel(ColorModel) setColorModel method
of the ImageConsumer interface.
If model is null , this
method clears the current ColorModel of this
BufferedImageFilter .
Note: This method is intended to be called by the
ImageProducer of the Image
whose pixels are being filtered. Developers using this
class to retrieve pixels from an image
should avoid calling this method directly since that
operation could result in problems with retrieving the
requested pixels.
Parameters: model - the ColorModel to which to set the ColorModel of this BufferedImageFilter See Also: ImageConsumer.setColorModel |
setDimensions | public void setDimensions(int width, int height)(Code) | | Filters the information provided in the
ImageConsumer.setDimensions(intint) setDimensions method
of the
ImageConsumer interface.
Note: This method is intended to be called by the
ImageProducer of the Image whose pixels are
being filtered. Developers using this class to retrieve pixels from
an image should avoid calling this method directly since that
operation could result in problems with retrieving the requested
pixels.
Parameters: width - the width to which to set the width of thisBufferedImageFilter Parameters: height - the height to which to set the height of thisBufferedImageFilter See Also: ImageConsumer.setDimensions |
setPixels | public void setPixels(int x, int y, int w, int h, ColorModel model, byte pixels, int off, int scansize)(Code) | | Filters the information provided in the setPixels
method of the ImageConsumer interface which takes
an array of bytes.
Note: This method is intended to be called by the
ImageProducer of the Image whose pixels
are being filtered. Developers using
this class to retrieve pixels from an image should avoid calling
this method directly since that operation could result in problems
with retrieving the requested pixels.
throws: IllegalArgumentException - if width or height are less than zero. See Also: ImageConsumer.setPixels(intintintintColorModelbyte[]intint) |
setPixels | public void setPixels(int x, int y, int w, int h, ColorModel model, int pixels, int off, int scansize)(Code) | | Filters the information provided in the setPixels
method of the ImageConsumer interface which takes
an array of integers.
Note: This method is intended to be called by the
ImageProducer of the Image whose
pixels are being filtered. Developers using this class to
retrieve pixels from an image should avoid calling this method
directly since that operation could result in problems
with retrieving the requested pixels.
throws: IllegalArgumentException - if width or height are less than zero. See Also: ImageConsumer.setPixels(intintintintColorModelint[]intint) |
Methods inherited from java.awt.image.ImageFilter | public Object clone()(Code)(Java Doc) public ImageFilter getFilterInstance(ImageConsumer ic)(Code)(Java Doc) public void imageComplete(int status)(Code)(Java Doc) public void resendTopDownLeftRight(ImageProducer ip)(Code)(Java Doc) public void setColorModel(ColorModel model)(Code)(Java Doc) public void setDimensions(int width, int height)(Code)(Java Doc) public void setHints(int hints)(Code)(Java Doc) public void setPixels(int x, int y, int w, int h, ColorModel model, byte pixels, int off, int scansize)(Code)(Java Doc) public void setPixels(int x, int y, int w, int h, ColorModel model, int pixels, int off, int scansize)(Code)(Java Doc) public void setProperties(Hashtable, ?> props)(Code)(Java Doc)
|
|
|