com.jhlabs.composite

Class ContourComposite

Implemented Interfaces:
Composite

public final class ContourComposite
extends java.lang.Object
implements 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

ContourComposite(int offset)

Method Summary

CompositeContext
createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
boolean
equals(Object o)
int
hashCode()

Constructor Details

ContourComposite

public ContourComposite(int offset)

Method Details

createContext

public CompositeContext createContext(ColorModel srcColorModel,
                                      ColorModel dstColorModel,
                                      RenderingHints hints)

equals

public boolean equals(Object o)

hashCode

public int hashCode()