Package com.tagtraum.core.image
Class ImageFX.NegativeOp
- java.lang.Object
-
- com.tagtraum.core.image.ImageFX.NegativeOp
-
- All Implemented Interfaces:
BufferedImageOp
- Enclosing class:
- ImageFX
public static class ImageFX.NegativeOp extends Object implements BufferedImageOp
Lets you create a negative image of the given source image.
-
-
Constructor Summary
Constructors Constructor Description NegativeOp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
createCompatibleDestImage(BufferedImage src, ColorModel destCM)
BufferedImage
filter(BufferedImage src, BufferedImage dest)
Rectangle2D
getBounds2D(BufferedImage src)
Point2D
getPoint2D(Point2D srcPt, Point2D dstPt)
RenderingHints
getRenderingHints()
-
-
-
Method Detail
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dest)
- Specified by:
filter
in interfaceBufferedImageOp
-
getBounds2D
public Rectangle2D getBounds2D(BufferedImage src)
- Specified by:
getBounds2D
in interfaceBufferedImageOp
-
createCompatibleDestImage
public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel destCM)
- Specified by:
createCompatibleDestImage
in interfaceBufferedImageOp
-
getPoint2D
public Point2D getPoint2D(Point2D srcPt, Point2D dstPt)
- Specified by:
getPoint2D
in interfaceBufferedImageOp
-
getRenderingHints
public RenderingHints getRenderingHints()
- Specified by:
getRenderingHints
in interfaceBufferedImageOp
-
-