public class CaptchaProducer
extends com.appslandia.common.base.InitializeObject
| Constructor and Description |
|---|
CaptchaProducer() |
| Modifier and Type | Method and Description |
|---|---|
CaptchaProducer |
addImageRenderer(ImageRenderer noiseRenderer) |
protected void |
init() |
BufferedImage |
produce(String words) |
CaptchaProducer |
setBackgroundProducer(BackgroundProducer backgroundProducer) |
CaptchaProducer |
setBorderColor(Color borderColor) |
CaptchaProducer |
setBorderRendered(boolean borderRendered) |
CaptchaProducer |
setHeight(int height) |
CaptchaProducer |
setWidth(int width) |
CaptchaProducer |
setWordsRenderer(WordsRenderer wordsRender) |
protected void init()
throws Exception
init in class com.appslandia.common.base.InitializeObjectExceptionpublic BufferedImage produce(String words)
public CaptchaProducer setWordsRenderer(WordsRenderer wordsRender)
public CaptchaProducer setBackgroundProducer(BackgroundProducer backgroundProducer)
public CaptchaProducer addImageRenderer(ImageRenderer noiseRenderer)
public CaptchaProducer setWidth(int width)
public CaptchaProducer setHeight(int height)
public CaptchaProducer setBorderRendered(boolean borderRendered)
public CaptchaProducer setBorderColor(Color borderColor)
Copyright © 2021. All rights reserved.