Class AffineTransformOp
java.lang.Object
com.twelvemonkeys.image.AffineTransformOp
- All Implemented Interfaces:
BufferedImageOp, RasterOp
This is a drop-in replacement for
AffineTransformOp.
Currently only a modification on filter(BufferedImage, BufferedImage) is done, which does a Graphics2D fallback for the native lib.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final AffineTransformOpstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionAffineTransformOp(AffineTransform xform, int interpolationType) AffineTransformOp(AffineTransform xform, RenderingHints hints) -
Method Summary
Modifier and TypeMethodDescriptioncreateCompatibleDestImage(BufferedImage src, ColorModel destCM) filter(BufferedImage src, BufferedImage dst) filter(Raster src, WritableRaster dest) getBounds2D(BufferedImage src) getBounds2D(Raster src) getPoint2D(Point2D srcPt, Point2D dstPt)
-
Field Details
-
delegate
-
TYPE_NEAREST_NEIGHBOR
public static final int TYPE_NEAREST_NEIGHBOR- See Also:
-
TYPE_BILINEAR
public static final int TYPE_BILINEAR- See Also:
-
TYPE_BICUBIC
public static final int TYPE_BICUBIC- See Also:
-
-
Constructor Details
-
AffineTransformOp
- Parameters:
xform- TheAffineTransformto use for the operation.hints- TheRenderingHintsobject used to specify the interpolation type for the operation.
-
AffineTransformOp
- Parameters:
xform- TheAffineTransformto use for the operation.interpolationType- One of the integer interpolation type constants defined by this class:TYPE_NEAREST_NEIGHBOR,TYPE_BILINEAR,TYPE_BICUBIC.
-
-
Method Details
-
filter
- Specified by:
filterin interfaceBufferedImageOp
-
getBounds2D
- Specified by:
getBounds2Din interfaceBufferedImageOp
-
createCompatibleDestImage
- Specified by:
createCompatibleDestImagein interfaceBufferedImageOp
-
filter
-
getBounds2D
- Specified by:
getBounds2Din interfaceRasterOp
-
createCompatibleDestRaster
- Specified by:
createCompatibleDestRasterin interfaceRasterOp
-
getPoint2D
- Specified by:
getPoint2Din interfaceBufferedImageOp- Specified by:
getPoint2Din interfaceRasterOp
-
getRenderingHints
- Specified by:
getRenderingHintsin interfaceBufferedImageOp- Specified by:
getRenderingHintsin interfaceRasterOp
-