java.awt.image

Class BufferedImageFilter

public class BufferedImageFilter extends ImageFilter implements Cloneable

The BufferedImageFilter class wraps BufferedImageOp objects in a Filter. When pixels are pushed through the filter, we create a BufferedImage, apply the BufferedImageOp, and pass the filtered pixels to the base class.
Constructor Summary
BufferedImageFilter(BufferedImageOp op)
Method Summary
BufferedImageOpgetBufferedImageOp()
voidsetPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
voidsetPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)

Constructor Detail

BufferedImageFilter

public BufferedImageFilter(BufferedImageOp op)

Method Detail

getBufferedImageOp

public BufferedImageOp getBufferedImageOp()

Returns: Returns the contained BufferedImageOp.

setPixels

public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)

setPixels

public void setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)