java.awt.image
Class AffineTransformOp

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.image.AffineTransformOp
All Implemented Interfaces:
BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp , RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp

public class AffineTransformOp
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp , RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp

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. The type of interpolation that is used is specified through a constructor, either by a RenderingHints object or by one of the integer interpolation types defined in this class.

If a RenderingHints object is specified in the constructor, the interpolation hint and the rendering quality hint are used to set the interpolation type for this operation. The color rendering hint and the dithering hint can be used when color conversion is required.

Note that the following constraints have to be met:

See Also:
AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform , BufferedImageFilter sample code for java.awt.image.BufferedImageFilter definition code for java.awt.image.BufferedImageFilter , RenderingHints.KEY_INTERPOLATION sample code for java.awt.RenderingHints.KEY_INTERPOLATION definition code for java.awt.RenderingHints.KEY_INTERPOLATION , RenderingHints.KEY_RENDERING sample code for java.awt.RenderingHints.KEY_RENDERING definition code for java.awt.RenderingHints.KEY_RENDERING , RenderingHints.KEY_COLOR_RENDERING sample code for java.awt.RenderingHints.KEY_COLOR_RENDERING definition code for java.awt.RenderingHints.KEY_COLOR_RENDERING , RenderingHints.KEY_DITHERING sample code for java.awt.RenderingHints.KEY_DITHERING definition code for java.awt.RenderingHints.KEY_DITHERING

Field Summary
static int TYPE_BICUBIC sample code for java.awt.image.AffineTransformOp.TYPE_BICUBIC definition code for java.awt.image.AffineTransformOp.TYPE_BICUBIC
          Bicubic interpolation type.
static int TYPE_BILINEAR sample code for java.awt.image.AffineTransformOp.TYPE_BILINEAR definition code for java.awt.image.AffineTransformOp.TYPE_BILINEAR
          Bilinear interpolation type.
static int TYPE_NEAREST_NEIGHBOR sample code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR definition code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR
          Nearest-neighbor interpolation type.
 
Constructor Summary
AffineTransformOp sample code for java.awt.image.AffineTransformOp.AffineTransformOp(java.awt.geom.AffineTransform, int) definition code for java.awt.image.AffineTransformOp.AffineTransformOp(java.awt.geom.AffineTransform, int) (AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  xform, int interpolationType)
          Constructs an AffineTransformOp given an affine transform and the interpolation type.
AffineTransformOp sample code for java.awt.image.AffineTransformOp.AffineTransformOp(java.awt.geom.AffineTransform, java.awt.RenderingHints) definition code for java.awt.image.AffineTransformOp.AffineTransformOp(java.awt.geom.AffineTransform, java.awt.RenderingHints) (AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  xform, RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
          Constructs an AffineTransformOp given an affine transform.
 
Method Summary
 BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage createCompatibleDestImage sample code for java.awt.image.AffineTransformOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) definition code for java.awt.image.AffineTransformOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) (BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src, ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  destCM)
          Creates a zeroed destination image with the correct size and number of bands.
 WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster createCompatibleDestRaster sample code for java.awt.image.AffineTransformOp.createCompatibleDestRaster(java.awt.image.Raster) definition code for java.awt.image.AffineTransformOp.createCompatibleDestRaster(java.awt.image.Raster) (Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
          Creates a zeroed destination Raster with the correct size and number of bands.
 BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage filter sample code for java.awt.image.AffineTransformOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.AffineTransformOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) (BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src, BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  dst)
          Transforms the source BufferedImage and stores the results in the destination BufferedImage.
 WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster filter sample code for java.awt.image.AffineTransformOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) definition code for java.awt.image.AffineTransformOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) (Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src, WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  dst)
          Transforms the source Raster and stores the results in the destination Raster.
 Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D getBounds2D sample code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.BufferedImage) definition code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.BufferedImage) (BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src)
          Returns the bounding box of the transformed destination.
 Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D getBounds2D sample code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.Raster) definition code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.Raster) (Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
          Returns the bounding box of the transformed destination.
 int getInterpolationType sample code for java.awt.image.AffineTransformOp.getInterpolationType() definition code for java.awt.image.AffineTransformOp.getInterpolationType() ()
          Returns the interpolation type used by this op.
 Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D getPoint2D sample code for java.awt.image.AffineTransformOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.AffineTransformOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) (Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  srcPt, Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  dstPt)
          Returns the location of the corresponding destination point given a point in the source.
 RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints getRenderingHints sample code for java.awt.image.AffineTransformOp.getRenderingHints() definition code for java.awt.image.AffineTransformOp.getRenderingHints() ()
          Returns the rendering hints used by this transform operation.
 AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform getTransform sample code for java.awt.image.AffineTransformOp.getTransform() definition code for java.awt.image.AffineTransformOp.getTransform() ()
          Returns the affine transform used by this transform operation.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

TYPE_NEAREST_NEIGHBOR sample code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR

public static final int TYPE_NEAREST_NEIGHBOR
Nearest-neighbor interpolation type.

See Also:
Constant Field Values

TYPE_BILINEAR sample code for java.awt.image.AffineTransformOp.TYPE_BILINEAR

public static final int TYPE_BILINEAR
Bilinear interpolation type.

See Also:
Constant Field Values

TYPE_BICUBIC sample code for java.awt.image.AffineTransformOp.TYPE_BICUBIC

public static final int TYPE_BICUBIC
Bicubic interpolation type.

See Also:
Constant Field Values
Constructor Detail

AffineTransformOp sample code for java.awt.image.AffineTransformOp(java.awt.geom.AffineTransform, java.awt.RenderingHints) definition code for java.awt.image.AffineTransformOp(java.awt.geom.AffineTransform, java.awt.RenderingHints)

public AffineTransformOp(AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  xform,
                         RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
Constructs an AffineTransformOp given an affine transform. The interpolation type is determined from the RenderingHints object. If the interpolation hint is defined, it will be used. Otherwise, if the rendering quality hint is defined, the interpolation type is determined from its value. If no hints are specified (hints is null), the interpolation type is TYPE_NEAREST_NEIGHBOR sample code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR definition code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR .

Parameters:
xform - The AffineTransform to use for the operation.
hints - The RenderingHints object used to specify the interpolation type for the operation.
Throws:
ImagingOpException sample code for java.awt.image.ImagingOpException definition code for java.awt.image.ImagingOpException - if the transform is non-invertible.
See Also:
RenderingHints.KEY_INTERPOLATION sample code for java.awt.RenderingHints.KEY_INTERPOLATION definition code for java.awt.RenderingHints.KEY_INTERPOLATION , RenderingHints.KEY_RENDERING sample code for java.awt.RenderingHints.KEY_RENDERING definition code for java.awt.RenderingHints.KEY_RENDERING

AffineTransformOp sample code for java.awt.image.AffineTransformOp(java.awt.geom.AffineTransform, int) definition code for java.awt.image.AffineTransformOp(java.awt.geom.AffineTransform, int)

public AffineTransformOp(AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  xform,
                         int interpolationType)
Constructs an AffineTransformOp given an affine transform and the interpolation type.

Parameters:
xform - The AffineTransform to use for the operation.
interpolationType - One of the integer interpolation type constants defined by this class: TYPE_NEAREST_NEIGHBOR sample code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR definition code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR , TYPE_BILINEAR sample code for java.awt.image.AffineTransformOp.TYPE_BILINEAR definition code for java.awt.image.AffineTransformOp.TYPE_BILINEAR , TYPE_BICUBIC sample code for java.awt.image.AffineTransformOp.TYPE_BICUBIC definition code for java.awt.image.AffineTransformOp.TYPE_BICUBIC .
Throws:
ImagingOpException sample code for java.awt.image.ImagingOpException definition code for java.awt.image.ImagingOpException - if the transform is non-invertible.
Method Detail

getInterpolationType sample code for java.awt.image.AffineTransformOp.getInterpolationType() definition code for java.awt.image.AffineTransformOp.getInterpolationType()

public final int getInterpolationType()
Returns the interpolation type used by this op.

Returns:
the interpolation type.
See Also:
TYPE_NEAREST_NEIGHBOR sample code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR definition code for java.awt.image.AffineTransformOp.TYPE_NEAREST_NEIGHBOR , TYPE_BILINEAR sample code for java.awt.image.AffineTransformOp.TYPE_BILINEAR definition code for java.awt.image.AffineTransformOp.TYPE_BILINEAR , TYPE_BICUBIC sample code for java.awt.image.AffineTransformOp.TYPE_BICUBIC definition code for java.awt.image.AffineTransformOp.TYPE_BICUBIC

filter sample code for java.awt.image.AffineTransformOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.AffineTransformOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage)

public final BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  filter(BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src,
                                  BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  dst)
Transforms the source BufferedImage and stores the results in the destination BufferedImage. If the color models for the two images do not match, a color conversion into the destination color model is performed. If the destination image is null, a BufferedImage is created with the source ColorModel.

The coordinates of the rectangle returned by getBounds2D(BufferedImage) are not necessarily the same as the coordinates of the BufferedImage returned by this method. If the upper-left corner coordinates of the rectangle are negative then this part of the rectangle is not drawn. If the upper-left corner coordinates of the rectangle are positive then the filtered image is drawn at that position in the destination BufferedImage.

An IllegalArgumentException is thrown if the source is the same as the destination.

Specified by:
filter sample code for java.awt.image.BufferedImageOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.BufferedImageOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Parameters:
src - The BufferedImage to transform.
dst - The BufferedImage in which to store the results of the transformation.
Returns:
The filtered BufferedImage.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if src and dst are the same
ImagingOpException sample code for java.awt.image.ImagingOpException definition code for java.awt.image.ImagingOpException - if the image cannot be transformed because of a data-processing error that might be caused by an invalid image format, tile format, or image-processing operation, or any other unsupported operation.

filter sample code for java.awt.image.AffineTransformOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) definition code for java.awt.image.AffineTransformOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster)

public final WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  filter(Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src,
                                   WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  dst)
Transforms the source Raster and stores the results in the destination Raster. This operation performs the transform band by band.

If the destination Raster is null, a new Raster is created. An IllegalArgumentException may be thrown if the source is the same as the destination or if the number of bands in the source is not equal to the number of bands in the destination.

The coordinates of the rectangle returned by getBounds2D(Raster) are not necessarily the same as the coordinates of the WritableRaster returned by this method. If the upper-left corner coordinates of rectangle are negative then this part of the rectangle is not drawn. If the coordinates of the rectangle are positive then the filtered image is drawn at that position in the destination Raster.

Specified by:
filter sample code for java.awt.image.RasterOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) definition code for java.awt.image.RasterOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
src - The Raster to transform.
dst - The Raster in which to store the results of the transformation.
Returns:
The transformed Raster.
Throws:
ImagingOpException sample code for java.awt.image.ImagingOpException definition code for java.awt.image.ImagingOpException - if the raster cannot be transformed because of a data-processing error that might be caused by an invalid image format, tile format, or image-processing operation, or any other unsupported operation.

getBounds2D sample code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.BufferedImage) definition code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.BufferedImage)

public final Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D  getBounds2D(BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src)
Returns the bounding box of the transformed destination. The rectangle returned is the actual bounding box of the transformed points. The coordinates of the upper-left corner of the returned rectangle might not be (0, 0).

Specified by:
getBounds2D sample code for java.awt.image.BufferedImageOp.getBounds2D(java.awt.image.BufferedImage) definition code for java.awt.image.BufferedImageOp.getBounds2D(java.awt.image.BufferedImage) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Parameters:
src - The BufferedImage to be transformed.
Returns:
The Rectangle2D representing the destination's bounding box.

getBounds2D sample code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.Raster) definition code for java.awt.image.AffineTransformOp.getBounds2D(java.awt.image.Raster)

public final Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D  getBounds2D(Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
Returns the bounding box of the transformed destination. The rectangle returned will be the actual bounding box of the transformed points. The coordinates of the upper-left corner of the returned rectangle might not be (0, 0).

Specified by:
getBounds2D sample code for java.awt.image.RasterOp.getBounds2D(java.awt.image.Raster) definition code for java.awt.image.RasterOp.getBounds2D(java.awt.image.Raster) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
src - The Raster to be transformed.
Returns:
The Rectangle2D representing the destination's bounding box.

createCompatibleDestImage sample code for java.awt.image.AffineTransformOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) definition code for java.awt.image.AffineTransformOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel)

public BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  createCompatibleDestImage(BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src,
                                               ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  destCM)
Creates a zeroed destination image with the correct size and number of bands. A RasterFormatException may be thrown if the transformed width or height is equal to 0.

If destCM is null, an appropriate ColorModel is used; this ColorModel may have an alpha channel even if the source ColorModel is opaque.

Specified by:
createCompatibleDestImage sample code for java.awt.image.BufferedImageOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) definition code for java.awt.image.BufferedImageOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Parameters:
src - The BufferedImage to be transformed.
destCM - ColorModel of the destination. If null, an appropriate ColorModel is used.
Returns:
The zeroed destination image.

createCompatibleDestRaster sample code for java.awt.image.AffineTransformOp.createCompatibleDestRaster(java.awt.image.Raster) definition code for java.awt.image.AffineTransformOp.createCompatibleDestRaster(java.awt.image.Raster)

public WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  createCompatibleDestRaster(Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
Creates a zeroed destination Raster with the correct size and number of bands. A RasterFormatException may be thrown if the transformed width or height is equal to 0.

Specified by:
createCompatibleDestRaster sample code for java.awt.image.RasterOp.createCompatibleDestRaster(java.awt.image.Raster) definition code for java.awt.image.RasterOp.createCompatibleDestRaster(java.awt.image.Raster) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
src - The Raster to be transformed.
Returns:
The zeroed destination Raster.

getPoint2D sample code for java.awt.image.AffineTransformOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.AffineTransformOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D)

public final Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  getPoint2D(Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  srcPt,
                                Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  dstPt)
Returns the location of the corresponding destination point given a point in the source. If dstPt is specified, it is used to hold the return value.

Specified by:
getPoint2D sample code for java.awt.image.BufferedImageOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.BufferedImageOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Specified by:
getPoint2D sample code for java.awt.image.RasterOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.RasterOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
srcPt - The Point2D that represents the source point.
dstPt - The Point2D in which to store the result.
Returns:
The Point2D in the destination that corresponds to the specified point in the source.

getTransform sample code for java.awt.image.AffineTransformOp.getTransform() definition code for java.awt.image.AffineTransformOp.getTransform()

public final AffineTransform sample code for java.awt.geom.AffineTransform definition code for java.awt.geom.AffineTransform  getTransform()
Returns the affine transform used by this transform operation.

Returns:
The AffineTransform associated with this op.

getRenderingHints sample code for java.awt.image.AffineTransformOp.getRenderingHints() definition code for java.awt.image.AffineTransformOp.getRenderingHints()

public final RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  getRenderingHints()
Returns the rendering hints used by this transform operation.

Specified by:
getRenderingHints sample code for java.awt.image.BufferedImageOp.getRenderingHints() definition code for java.awt.image.BufferedImageOp.getRenderingHints() in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Specified by:
getRenderingHints sample code for java.awt.image.RasterOp.getRenderingHints() definition code for java.awt.image.RasterOp.getRenderingHints() in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Returns:
The RenderingHints object associated with this op.