Class SGuiHelper.ModulateComposite

  • All Implemented Interfaces:
    java.awt.Composite
    Enclosing class:
    SGuiHelper

    protected static class SGuiHelper.ModulateComposite
    extends java.lang.Object
    implements java.awt.Composite
    Composite for modulation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean high
      Highlight amplification
      protected java.awt.Color modcolor
      Modulation color
    • Constructor Summary

      Constructors 
      Constructor Description
      ModulateComposite​(java.awt.Color modcolor, boolean high)
      Creates a new Composite.
    • Method Summary

      All Methods Instance 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)
      Create the context.
      • Methods inherited from class java.lang.Object

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

      • modcolor

        protected java.awt.Color modcolor
        Modulation color
      • high

        protected boolean high
        Highlight amplification
    • Constructor Detail

      • ModulateComposite

        public ModulateComposite​(java.awt.Color modcolor,
                                 boolean high)
        Creates a new Composite.
        Parameters:
        modcolor - The modulation color.
        high - Highlight amplification flag.
    • Method Detail

      • createContext

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