Class ModulateComposite.ModulationContext

  • All Implemented Interfaces:
    java.awt.CompositeContext
    Enclosing class:
    ModulateComposite

    protected class ModulateComposite.ModulationContext
    extends java.lang.Object
    implements java.awt.CompositeContext
    Regular "correct" modulation context.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.awt.image.ColorModel dstColorModel
      Destination color model.
      protected java.awt.image.ColorModel srcColorModel
      Source color model.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModulationContext​(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel)
      Creates the context.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compose​(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
      Composes the image.
      void dispose()
      Disposes context.
      • Methods inherited from class java.lang.Object

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

      • srcColorModel

        protected java.awt.image.ColorModel srcColorModel
        Source color model.
      • dstColorModel

        protected java.awt.image.ColorModel dstColorModel
        Destination color model.
    • Constructor Detail

      • ModulationContext

        public ModulationContext​(java.awt.image.ColorModel srcColorModel,
                                 java.awt.image.ColorModel dstColorModel)
        Creates the context.
        Parameters:
        srcColorModel - Source color model.
        dstColorModel - Destination color model.
    • Method Detail

      • compose

        public void compose​(java.awt.image.Raster src,
                            java.awt.image.Raster dstIn,
                            java.awt.image.WritableRaster dstOut)
        Composes the image.
        Specified by:
        compose in interface java.awt.CompositeContext
      • dispose

        public void dispose()
        Disposes context.
        Specified by:
        dispose in interface java.awt.CompositeContext