AffineTransformOp
, BandCombineOp
, ColorConvertOp
, ConvolveOp
, LookupOp
, RescaleOp
public interface RasterOp
Modifier and Type | Method | Description |
---|---|---|
WritableRaster |
createCompatibleDestRaster |
Creates a zeroed destination Raster with the correct size and number of bands. |
WritableRaster |
filter |
Performs a single-input/single-output operation from a source Raster to a destination Raster. |
Rectangle2D |
getBounds2D |
Returns the bounding box of the filtered destination Raster. |
Point2D |
getPoint2D |
Returns the location of the destination point given a point in the source Raster. |
RenderingHints |
getRenderingHints() |
Returns the rendering hints for this RasterOp. |
WritableRaster filter(Raster src, WritableRaster dest)
src
- the source Raster
dest
- the destination WritableRaster
WritableRaster
that represents the result of the filtering operation.Rectangle2D getBounds2D(Raster src)
src
- the source Raster
Rectangle2D
that is the bounding box of the Raster
resulting from the filtering operation.WritableRaster createCompatibleDestRaster(Raster src)
src
- the source Raster
WritableRaster
that is compatible with src
Point2D getPoint2D(Point2D srcPt, Point2D dstPt)
srcPt
- the source Point2D
dstPt
- the destination Point2D
RenderingHints getRenderingHints()
RenderingHints
object of this RasterOp
.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/image/RasterOp.html