Class ModulateComposite

  • All Implemented Interfaces:
    java.awt.Composite

    public abstract class ModulateComposite
    extends java.lang.Object
    implements java.awt.Composite
    Abstract Modulation Composite. Subclasses have to implement the getColor() method which supplies the modulation color.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.CompositeContext createContext​(java.awt.image.ColorModel srcColorModel, java.awt.image.ColorModel dstColorModel, java.awt.RenderingHints hints)  
      protected abstract java.awt.Color getColor()
      Method supplying the modulation color.
      • Methods inherited from class java.lang.Object

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

      • ModulateComposite

        public ModulateComposite()
    • Method Detail

      • getColor

        protected abstract java.awt.Color getColor()
        Method supplying the modulation color.
        Returns:
        modulation color
      • createContext

        public java.awt.CompositeContext createContext​(java.awt.image.ColorModel srcColorModel,
                                                       java.awt.image.ColorModel dstColorModel,
                                                       java.awt.RenderingHints hints)
        Specified by:
        createContext in interface java.awt.Composite