类 SpecCaptcha
java.lang.Object
io.springboot.captcha.base.Randoms
io.springboot.captcha.base.Captcha
io.springboot.captcha.SpecCaptcha
png格式验证码 Created by 王帆 on 2018-07-27 上午 10:08.
-
字段概要
从类继承的字段 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 -
构造器概要
构造器构造器说明SpecCaptcha(int width, int height) SpecCaptcha(int width, int height, int len) SpecCaptcha(int width, int height, int len, Font font) -
方法概要
修饰符和类型方法说明获取图片类型private booleangraphicsImage(char[] strs, OutputStream out) 生成验证码图形booleanout(OutputStream out) 生成验证码toBase64()输出base64编码从类继承的方法 io.springboot.captcha.base.Captcha
alphas, checkAlpha, color, color, drawBesselLine, drawBesselLine, drawLine, drawLine, drawOval, drawOval, getCharType, getFont, getHeight, getLen, getWidth, setCharType, setFont, setFont, setFont, setFont, setHeight, setLen, setWidth, text, textChar, toBase64
-
构造器详细资料
-
SpecCaptcha
public SpecCaptcha() -
SpecCaptcha
public SpecCaptcha(int width, int height) -
SpecCaptcha
public SpecCaptcha(int width, int height, int len) -
SpecCaptcha
-
-
方法详细资料