public class DefaultKaptcha extends Configurable implements Producer
Producer implementation which draws a captcha image using
WordRenderer, GimpyEngine, BackgroundProducer.
Text creation uses TextProducer.| Constructor and Description |
|---|
DefaultKaptcha() |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
createImage(String text)
Create an image which will have written a distorted text.
|
String |
createText() |
getConfig, setConfigpublic BufferedImage createImage(String text)
createImage in interface Producertext - the distorted characterspublic String createText()
createText in interface ProducerCopyright © 2013. All rights reserved.