com.octo.captcha.component.image.color
Interface ColorGenerator

All Known Implementing Classes:
RandomListColorGenerator, RandomRangeColorGenerator, SingleColorGenerator

public interface ColorGenerator

ColorGenerator is an interface used by TextPaster to generate color for rendering each character with specific color.

Author:
Benoit Doumas, Christian Blavier

Method Summary
 java.awt.Color getNextColor()
          This return a new color, from a finite set.
 

Method Detail

getNextColor

java.awt.Color getNextColor()
This return a new color, from a finite set.

Returns:
the next color


Copyright © 2003-2011 JCaptcha corp.. All Rights Reserved.