public abstract class AbstractBufferedImageOp extends Object implements BufferedImageOp, Cloneable
Constructor and Description |
---|
AbstractBufferedImageOp() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
BufferedImage |
createCompatibleDestImage(BufferedImage src,
ColorModel dstCM) |
Rectangle2D |
getBounds2D(BufferedImage src) |
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 |
setRGB(BufferedImage image,
int x,
int y,
int width,
int height,
int[] pixels)
A convenience method for setting ARGB pixels in an image.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filter
public AbstractBufferedImageOp()
public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM)
createCompatibleDestImage
in interface BufferedImageOp
public Rectangle2D getBounds2D(BufferedImage src)
getBounds2D
in interface BufferedImageOp
public Point2D getPoint2D(Point2D srcPt, Point2D dstPt)
getPoint2D
in interface BufferedImageOp
public RenderingHints getRenderingHints()
getRenderingHints
in interface BufferedImageOp
public 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[])