railo.runtime.img.composite
Class ContourComposite

java.lang.Object
  extended by railo.runtime.img.composite.ContourComposite
All Implemented Interfaces:
Composite

public final class ContourComposite
extends 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()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContourComposite

public ContourComposite(int offset)
Method Detail

createContext

public CompositeContext createContext(ColorModel srcColorModel,
                                      ColorModel dstColorModel,
                                      RenderingHints hints)
Specified by:
createContext in interface Composite

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2012 Railo