Class NullOp

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp

    class NullOp
    extends java.lang.Object
    implements java.awt.image.BufferedImageOp
    Version:
    $Id: NullOp.java 1733416 2016-03-03 07:07:13Z gadams $
    • Constructor Summary

      Constructors 
      Constructor Description
      NullOp()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage createCompatibleDestImage​(java.awt.image.BufferedImage src, java.awt.image.ColorModel destCM)
      Creates a destination image compatible with the source.
      java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dest)  
      java.awt.geom.Rectangle2D getBounds2D​(java.awt.image.BufferedImage src)  
      java.awt.geom.Point2D getPoint2D​(java.awt.geom.Point2D srcPt, java.awt.geom.Point2D destPt)
      Returns the location of the destination point given a point in the source image.
      java.awt.RenderingHints getRenderingHints()
      Returns the rendering hints for this BufferedImageOp.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullOp

        NullOp()
    • Method Detail

      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dest)
        Specified by:
        filter in interface java.awt.image.BufferedImageOp
      • getBounds2D

        public java.awt.geom.Rectangle2D getBounds2D​(java.awt.image.BufferedImage src)
        Specified by:
        getBounds2D in interface java.awt.image.BufferedImageOp
      • createCompatibleDestImage

        public java.awt.image.BufferedImage createCompatibleDestImage​(java.awt.image.BufferedImage src,
                                                                      java.awt.image.ColorModel destCM)
        Creates a destination image compatible with the source.
        Specified by:
        createCompatibleDestImage in interface java.awt.image.BufferedImageOp
      • getPoint2D

        public java.awt.geom.Point2D getPoint2D​(java.awt.geom.Point2D srcPt,
                                                java.awt.geom.Point2D destPt)
        Returns the location of the destination point given a point in the source image. If DestPt is non-null, it will be used to hold the return value.
        Specified by:
        getPoint2D in interface java.awt.image.BufferedImageOp
      • getRenderingHints

        public java.awt.RenderingHints getRenderingHints()
        Returns the rendering hints for this BufferedImageOp. Returns null if no hints have been set.
        Specified by:
        getRenderingHints in interface java.awt.image.BufferedImageOp