public class JHLabsCaptchaEngine extends java.lang.Object implements CaptchaEngine, java.io.Serializable
Available in ZK PE and ZK EE.
See also JH Labs
Constructor and Description |
---|
JHLabsCaptchaEngine() |
Modifier and Type | Method and Description |
---|---|
protected int |
drawText(java.awt.Graphics2D g2D,
Captcha captcha) |
byte[] |
generateCaptcha(java.lang.Object data)
Per the given data, generate the distortion Captcha image into a byte array.
|
protected java.awt.image.BufferedImage |
rotateChar(java.lang.String substr,
int width,
int height,
java.awt.Font font,
java.awt.Color fontColor,
java.awt.Color bgColor) |
public byte[] generateCaptcha(java.lang.Object data)
CaptchaEngine
generateCaptcha
in interface CaptchaEngine
protected int drawText(java.awt.Graphics2D g2D, Captcha captcha)
protected java.awt.image.BufferedImage rotateChar(java.lang.String substr, int width, int height, java.awt.Font font, java.awt.Color fontColor, java.awt.Color bgColor)
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.