| 程序包 | 说明 |
|---|---|
| cn.apiclub.captcha |
| 限定符和类型 | 方法和说明 |
|---|---|
Captcha.Builder |
Captcha.Builder.addBackground()
Add a background using the default
BackgroundProducer (a TransparentBackgroundProducer). |
Captcha.Builder |
Captcha.Builder.addBackground(BackgroundProducer bgProd)
Add a background using the given
BackgroundProducer. |
Captcha.Builder |
Captcha.Builder.addBorder()
Draw a single-pixel wide black border around the image.
|
Captcha.Builder |
Captcha.Builder.addNoise()
Add noise using the default
NoiseProducer (a CurvedLineNoiseProducer). |
Captcha.Builder |
Captcha.Builder.addNoise(NoiseProducer nProd)
Add noise using the given NoiseProducer.
|
Captcha.Builder |
Captcha.Builder.addText()
Generate the answer to the CAPTCHA using the
DefaultTextProducer. |
Captcha.Builder |
Captcha.Builder.addText(TextProducer txtProd)
Generate the answer to the CAPTCHA using the given
TextProducer. |
Captcha.Builder |
Captcha.Builder.addText(TextProducer txtProd,
WordRenderer wRenderer)
Generate the answer to the CAPTCHA using the given
TextProducer, and render it to the image using the given
WordRenderer. |
Captcha.Builder |
Captcha.Builder.addText(WordRenderer wRenderer)
Generate the answer to the CAPTCHA using the default
TextProducer, and render it to the image using the given
WordRenderer. |
Captcha.Builder |
Captcha.Builder.gimp()
Gimp the image using the default
GimpyRenderer (a RippleGimpyRenderer). |
Captcha.Builder |
Captcha.Builder.gimp(GimpyRenderer gimpy)
Gimp the image using the given
GimpyRenderer. |
Copyright © 2015. All rights reserved.