public abstract class AbstractBufferedImageOp
extends java.lang.Object
implements java.awt.image.BufferedImageOp, java.lang.Cloneable
| Constructor and Description |
|---|
AbstractBufferedImageOp() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
java.awt.image.BufferedImage |
createCompatibleDestImage(java.awt.image.BufferedImage src,
java.awt.image.ColorModel dstCM) |
java.awt.geom.Rectangle2D |
getBounds2D(java.awt.image.BufferedImage src) |
java.awt.geom.Point2D |
getPoint2D(java.awt.geom.Point2D srcPt,
java.awt.geom.Point2D dstPt) |
java.awt.RenderingHints |
getRenderingHints() |
int[] |
getRGB(java.awt.image.BufferedImage image,
int x,
int y,
int width,
int height,
int[] pixels)
A convenience method for getting ARGB pixels from an image.
|
void |
setRGB(java.awt.image.BufferedImage image,
int x,
int y,
int width,
int height,
int[] pixels)
A convenience method for setting ARGB pixels in an image.
|
public java.awt.image.BufferedImage createCompatibleDestImage(java.awt.image.BufferedImage src,
java.awt.image.ColorModel dstCM)
createCompatibleDestImage in interface java.awt.image.BufferedImageOppublic java.awt.geom.Rectangle2D getBounds2D(java.awt.image.BufferedImage src)
getBounds2D in interface java.awt.image.BufferedImageOppublic java.awt.geom.Point2D getPoint2D(java.awt.geom.Point2D srcPt,
java.awt.geom.Point2D dstPt)
getPoint2D in interface java.awt.image.BufferedImageOppublic java.awt.RenderingHints getRenderingHints()
getRenderingHints in interface java.awt.image.BufferedImageOppublic int[] getRGB(java.awt.image.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(java.awt.image.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 java.lang.Object clone()
clone in class java.lang.Object