public class Gif3VCGenerator extends Generator
| 构造器和说明 |
|---|
Gif3VCGenerator() |
Gif3VCGenerator(int width,
int height) |
Gif3VCGenerator(int width,
int height,
int len) |
Gif3VCGenerator(int width,
int height,
int len,
Font font) |
Gif3VCGenerator(int width,
int height,
int len,
Font font,
float pbkAlpha,
float pOvalSize,
int pOvalCount,
int pGifDelayTime)
this constructor is different from others.
|
| 限定符和类型 | 方法和说明 |
|---|---|
BufferedImage |
getValidCodeImage()
no result provide for gif validation code. only for PNG validation code image.
|
OutputStream |
write2out(OutputStream out) |
public Gif3VCGenerator()
public Gif3VCGenerator(int width,
int height)
public Gif3VCGenerator(int width,
int height,
int len)
public Gif3VCGenerator(int width,
int height,
int len,
Font font)
public Gif3VCGenerator(int width,
int height,
int len,
Font font,
float pbkAlpha,
float pOvalSize,
int pOvalCount,
int pGifDelayTime)
width - image widthheight - image heightlen - validation code lengthfont - font featurespbkAlpha - alpha channel for image background. default 7fpOvalSize - the interference oval strike size. default 4pOvalCount - the interference oval count. default 10pGifDelayTime - gif frame delay time.default 500mspublic OutputStream write2out(OutputStream out)
public BufferedImage getValidCodeImage()
GeneratorgetValidCodeImage 在类中 Generatornull for GIFCopyright © 2017. All rights reserved.