类 ArithmeticCaptcha
java.lang.Object
io.springboot.captcha.base.Randoms
io.springboot.captcha.base.Captcha
io.springboot.captcha.base.ArithmeticCaptchaAbstract
io.springboot.captcha.ArithmeticCaptcha
png格式验证码 Created by 王帆 on 2018-07-27 上午 10:08.
-
字段概要
从类继承的字段 io.springboot.captcha.base.ArithmeticCaptchaAbstract
algorithmSign, difficulty从类继承的字段 io.springboot.captcha.base.Captcha
chars, charType, COLOR, FONT_1, FONT_10, FONT_2, FONT_3, FONT_4, FONT_5, FONT_6, FONT_7, FONT_8, FONT_9, height, len, TYPE_DEFAULT, TYPE_NUM_AND_UPPER, TYPE_ONLY_CHAR, TYPE_ONLY_LOWER, TYPE_ONLY_NUMBER, TYPE_ONLY_UPPER, width从类继承的字段 io.springboot.captcha.base.Randoms
ALPHA, charMaxIndex, charMinIndex, lowerMaxIndex, lowerMinIndex, numMaxIndex, RANDOM, upperMaxIndex, upperMinIndex -
构造器概要
构造器构造器说明ArithmeticCaptcha(int width, int height) ArithmeticCaptcha(int width, int height, int len) ArithmeticCaptcha(int width, int height, int len, Font font) -
方法概要
修饰符和类型方法说明获取图片类型private booleangraphicsImage(char[] strs, OutputStream out) 生成验证码图形booleanout(OutputStream out) 生成验证码toBase64()输出base64编码从类继承的方法 io.springboot.captcha.base.ArithmeticCaptchaAbstract
alphas, getArithmeticString, setArithmeticString, setDifficulty, supportAlgorithmSign
-
构造器详细资料
-
ArithmeticCaptcha
public ArithmeticCaptcha() -
ArithmeticCaptcha
public ArithmeticCaptcha(int width, int height) -
ArithmeticCaptcha
public ArithmeticCaptcha(int width, int height, int len) -
ArithmeticCaptcha
-
-
方法详细资料