public abstract class AbstractBufferedImageOp extends Object implements BufferedImageOp, Cloneable, FilterListener, ImageFilterOpSupport
| Modifier and Type | Field and Description |
|---|---|
protected FilterListener |
filterListener |
| Constructor and Description |
|---|
AbstractBufferedImageOp() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
BufferedImage |
createCompatibleDestImage(BufferedImage src,
ColorModel dstCM) |
BufferedImage |
createCompatibleDestImage(BufferedImage src,
ColorModel dstCM,
Integer width,
Integer height) |
BufferedImage |
filter(BufferedImage src,
BufferedImage dest) |
void |
filterDone() |
void |
filterInitialize() |
void |
filterProgress(int percentComplete) |
void |
filterStart(int totalPixels) |
Rectangle2D |
getBounds2D(BufferedImage src) |
ImageFilterOps |
getMetaData()
Bambi filter metadata.
|
Point2D |
getPoint2D(Point2D srcPt,
Point2D dstPt) |
RenderingHints |
getRenderingHints() |
int[] |
getRGB(BufferedImage image,
int x,
int y,
int width,
int height,
int[] pixels)
A convenience method for getting ARGB pixels from an image.
|
void |
setFilterListener(FilterListener listener) |
void |
setRGB(BufferedImage image,
int x,
int y,
int width,
int height,
int[] pixels)
A convenience method for setting ARGB pixels in an image.
|
protected FilterListener filterListener
public void setFilterListener(FilterListener listener)
public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM)
createCompatibleDestImage in interface BufferedImageOppublic BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM, Integer width, Integer height)
public Rectangle2D getBounds2D(BufferedImage src)
getBounds2D in interface BufferedImageOppublic Point2D getPoint2D(Point2D srcPt, Point2D dstPt)
getPoint2D in interface BufferedImageOppublic RenderingHints getRenderingHints()
getRenderingHints in interface BufferedImageOppublic int[] getRGB(BufferedImage image, int x, int y, int width, int height, int[] pixels)
image - a BufferedImage objectx - the left edge of the pixel blocky - the right edge of the pixel blockwidth - the width of the pixel arryheight - the height of the pixel arrypixels - the array to hold the returned pixels. May be null.setRGB(java.awt.image.BufferedImage, int, int, int, int, int[])public void setRGB(BufferedImage image, int x, int y, int width, int height, int[] pixels)
image - a BufferedImage objectx - the left edge of the pixel blocky - the right edge of the pixel blockwidth - the width of the pixel arryheight - the height of the pixel arrypixels - the array of pixels to setgetRGB(java.awt.image.BufferedImage, int, int, int, int, int[])public BufferedImage filter(BufferedImage src, BufferedImage dest)
filter in interface BufferedImageOppublic void filterInitialize()
filterInitialize in interface FilterListenerpublic void filterStart(int totalPixels)
filterStart in interface FilterListenerpublic void filterProgress(int percentComplete)
filterProgress in interface FilterListenerpublic void filterDone()
filterDone in interface FilterListenerpublic ImageFilterOps getMetaData()
getMetaData in interface ImageFilterOpSupportIllegalStateException - on every invocationCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.