Class MaskComposite

  • All Implemented Interfaces:
    java.awt.Composite

    public class MaskComposite
    extends BlendMode
    Blends the source into the destination using both an overall and per-channel alpha values.
    Author:
    Chris Jennings
    • Constructor Detail

      • MaskComposite

        public MaskComposite()
      • MaskComposite

        public MaskComposite​(float rAlpha,
                             float gAlpha,
                             float bAlpha)
      • MaskComposite

        public MaskComposite​(float rAlpha,
                             float gAlpha,
                             float bAlpha,
                             float alpha)
    • Method Detail

      • createContext

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