API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.image. AffineTransformOp View Source
Author(s)
Since
Version
16 Apr 1998
Serial
Hierarchy
 Object
      AffineTransformOp
Implements
 BufferedImageOp
 RasterOp
Subclasses
Description
public class AffineTransformOp
  This class uses an affine transform to perform a linear mapping from 2D coordinates in the source image or Raster to 2D coordinates in the destination image or Raster.
Constructors
public AffineTransformOp (AffineTransform xform, int interpolationType)
  Constructs an AffineTransformOp given an affine transform and the interpolation type.
public AffineTransformOp (AffineTransform xform, RenderingHints hints)
  Constructs an AffineTransformOp given an affine transform.
Methods
Hide/Show inherited methods
public BufferedImage createCompatibleDestImage (BufferedImage src, ColorModel destCM) [Specified in BufferedImageOp]
  Creates a zeroed destination image with the correct size and number of bands.
public WritableRaster createCompatibleDestRaster (Raster src) [Specified in RasterOp]
  Creates a zeroed destination Raster with the correct size and number of bands.
publicfinal BufferedImage filter (BufferedImage src, BufferedImage dst) [Specified in BufferedImageOp]
  Transforms the source BufferedImage and stores the results in the destination BufferedImage.
publicfinal WritableRaster filter (Raster src, WritableRaster dst) [Specified in RasterOp]
  Transforms the source Raster and stores the results in the destination Raster.
publicfinal Rectangle2D getBounds2D (BufferedImage src) [Specified in BufferedImageOp]
  Returns the bounding box of the transformed destination.
publicfinal Rectangle2D getBounds2D (Raster src) [Specified in RasterOp]
  Returns the bounding box of the transformed destination.
publicfinal int getInterpolationType ()
  Returns the interpolation type used by this op.
publicfinal Point2D getPoint2D (Point2D srcPt, Point2D dstPt) [Specified in BufferedImageOp]
  Returns the location of the corresponding destination point given a point in the source.
publicfinal RenderingHints getRenderingHints () [Specified in BufferedImageOp]
  Returns the rendering hints used by this transform operation.
publicfinal AffineTransform getTransform ()
  Returns the affine transform used by this transform operation.
pack-private void validateTransform (AffineTransform xform)
Fields
Hide/Show inherited fields
pack-private RenderingHints hints
pack-private int interpolationType
publicfinalstatic int TYPE_BICUBIC = "3"
Bicubic interpolation type.
publicfinalstatic int TYPE_BILINEAR = "2"
Bilinear interpolation type.
publicfinalstatic int TYPE_NEAREST_NEIGHBOR = "1"
Nearest-neighbor interpolation type.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar