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, waitfilterpublic AbstractBufferedImageOp()
public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM)
createCompatibleDestImage in interface BufferedImageOppublic 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[])