com.jdon.util
类 RegisterCode
java.lang.Object
com.jdon.util.RegisterCode
public class RegisterCode
- extends Object
|
方法摘要 |
void |
create(int imageWidth,
int imageHeight,
String randNumber,
String fontType,
int fontSize,
int x,
int y,
OutputStream out)
|
void |
generate(BufferedImage image,
String randNumber,
String fontType,
int fontSize,
int x,
int y,
OutputStream out)
|
BufferedImage |
getBufferedImage(InputStream in)
|
BufferedImage |
getBufferedImage(int width,
int height)
|
Color |
getRandColor(int fc,
int bc)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisterCode
public RegisterCode()
getRandColor
public Color getRandColor(int fc,
int bc)
getBufferedImage
public BufferedImage getBufferedImage(int width,
int height)
getBufferedImage
public BufferedImage getBufferedImage(InputStream in)
throws Exception
- 抛出:
Exception
create
public void create(int imageWidth,
int imageHeight,
String randNumber,
String fontType,
int fontSize,
int x,
int y,
OutputStream out)
generate
public void generate(BufferedImage image,
String randNumber,
String fontType,
int fontSize,
int x,
int y,
OutputStream out)
Copyright © 2013. All Rights Reserved.