public class GifVCGenerator extends Generator
| 构造器和说明 |
|---|
GifVCGenerator() |
GifVCGenerator(int width,
int height) |
GifVCGenerator(int width,
int height,
int len) |
GifVCGenerator(int width,
int height,
int len,
Font font) |
GifVCGenerator(int width,
int height,
int len,
Font font,
int pOvalSize,
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 GifVCGenerator()
public GifVCGenerator(int width,
int height)
public GifVCGenerator(int width,
int height,
int len)
public GifVCGenerator(int width,
int height,
int len,
Font font)
public GifVCGenerator(int width,
int height,
int len,
Font font,
int pOvalSize,
int pGifDelayTime)
width - image widthheight - image heightlen - validation code lengthfont - font featurespOvalSize - the interference oval strike size. default 4pGifDelayTime - gif frame delay time.default 500mspublic OutputStream write2out(OutputStream out)
public BufferedImage getValidCodeImage()
GeneratorgetValidCodeImage 在类中 Generatornull for GIFCopyright © 2017. All rights reserved.