Package com.jhlabs.composite
Class ContourComposite
- java.lang.Object
-
- com.jhlabs.composite.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()
-
-
-
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 interfacejava.awt.Composite
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-