com.jdon.util
类 RegisterCode

java.lang.Object
  继承者 com.jdon.util.RegisterCode

public class RegisterCode
extends Object


构造方法摘要
RegisterCode()
           
 
方法摘要
 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.