|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
java.awt.image
|
Method Summary | |
WritableRaster |
createCompatibleDestRaster(Raster src)
Creates a zeroed destination Raster with the correct size and number of bands. |
WritableRaster |
filter(Raster src,
WritableRaster dest)
Performs a single-input/single-output operation from a source Raster to a destination Raster. |
Rectangle2D |
getBounds2D(Raster src)
Returns the bounding box of the filtered destination Raster. |
Point2D |
getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source Raster. |
RenderingHints |
getRenderingHints()
Returns the rendering hints for this RasterOp. |
Method Detail |
public WritableRaster filter(Raster src, WritableRaster dest)
src
- the source Raster
dest
- the destination WritableRaster
WritableRaster
that represents the result of
the filtering operation.public Rectangle2D getBounds2D(Raster src)
src
- the source Raster
Rectangle2D
that is the bounding box of
the Raster
resulting from the filtering
operation.public WritableRaster createCompatibleDestRaster(Raster src)
src
- the source Raster
WritableRaster
that is compatible with
src
public Point2D getPoint2D(Point2D srcPt, Point2D dstPt)
srcPt
- the source Point2D
dstPt
- the destination Point2D
public RenderingHints getRenderingHints()
RenderingHints
object of this
RasterOp
.