FileDocCategorySizeDatePackage
RasterOp.javaAPI DocAndroid 1.5 API2936Wed May 06 22:41:54 BST 2009java.awt.image

RasterOp

public interface RasterOp
The RasterOp interface provides methods for performing transformations from source data to destination data for Raster objects. The source and destination objects should contain the appropriate number of bands for the particular classes which implement this interface.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public java.awt.image.WritableRastercreateCompatibleDestRaster(java.awt.image.Raster src)
Creates a destination WritableRaster with the specified Raster; this destination image data is empty and has the correct size and number of bands.

param
src the source Raster.
return
the WritableRaster.

public java.awt.image.WritableRasterfilter(java.awt.image.Raster src, java.awt.image.WritableRaster dst)
Performs a filter operation on the source Raster and stores the resulting image data to the destination WritableRaster.

param
src the source Raster.
param
dst the destination WritableRaster, where the result is stored.
return
the filtered WritableRaster.

public java.awt.geom.Rectangle2DgetBounds2D(java.awt.image.Raster src)
Gets the bounds of the filtered Raster.

param
src the source Raster to be filtered.
return
the rectangle bounds of the filtered Raster.

public java.awt.geom.Point2DgetPoint2D(java.awt.geom.Point2D srcPoint, java.awt.geom.Point2D dstPoint)
Gets the point of the destination image which corresponds to the specified point in the source raster.

param
srcPoint the point of the source raster.
param
dstPoint the point where the result will be stored.
return
the destination point.

public java.awt.RenderingHintsgetRenderingHints()
Gets the RenderingHints of the RasterOp.

return
the RenderingHints of the RasterOp.