Class ContourComposite

  • All Implemented Interfaces:
    java.awt.Composite

    public final class ContourComposite
    extends java.lang.Object
    implements java.awt.Composite
    A special Composite used for drawing "marching ants". It draws the ants at the 127 contour of the alpha channel of the source. This can only be used on TYPE_INT_RGBA images.
    • Constructor Summary

      Constructors 
      Constructor Description
      ContourComposite​(int offset)  
    • 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)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • ContourComposite

        public ContourComposite​(int offset)
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object