public class MathCaptcha extends AbstractMathCaptcha
chars, 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 |
|---|
MathCaptcha(int width,
int height) |
MathCaptcha(int width,
int height,
int len) |
MathCaptcha(int width,
int height,
int len,
Font font) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
out(OutputStream out)
生成验证码
|
alphascheckAlpha, color, color, drawLine, drawLine, drawOval, drawOval, getCharType, getFont, getHeight, getLen, getWidth, setCharType, setFont, setHeight, setLen, setWidth, text, textCharpublic MathCaptcha(int width,
int height)
public MathCaptcha(int width,
int height,
int len)
public MathCaptcha(int width,
int height,
int len,
Font font)
public boolean out(OutputStream out)
out in class BaseCaptchaout - 输出流Copyright © 2020. All rights reserved.