public class ChineseCaptcha extends AbstractChineseCaptcha
DELTAchars, charType, COLOR, font, height, len, TYPE_DEFAULT, TYPE_NUM_AND_UPPER, TYPE_ONLY_CHAR, TYPE_ONLY_LOWER, TYPE_ONLY_NUMBER, TYPE_ONLY_UPPER, widthALPHA, charMaxIndex, charMinIndex, lowerMaxIndex, lowerMinIndex, numMaxIndex, RANDOM, upperMaxIndex, upperMinIndex| Constructor and Description |
|---|
ChineseCaptcha() |
ChineseCaptcha(int width,
int height) |
ChineseCaptcha(int width,
int height,
int len) |
ChineseCaptcha(int width,
int height,
int len,
Font font) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
out(OutputStream out)
生成验证码
|
alphaHan, alphas, drawLinecheckAlpha, color, color, drawLine, drawOval, drawOval, getCharType, getFont, getHeight, getLen, getWidth, setCharType, setFont, setHeight, setLen, setWidth, text, textCharpublic ChineseCaptcha()
public ChineseCaptcha(int width,
int height)
public ChineseCaptcha(int width,
int height,
int len)
public ChineseCaptcha(int width,
int height,
int len,
Font font)
public boolean out(OutputStream out)
out in class AbstractCaptchaout - 输出流Copyright © 2020. All rights reserved.