|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object captcha.graphics.ImageFactory
public class ImageFactory
This class creates Images using the BufferedImage implementation from Java 1.2 and above. This class can be compiled also within Java 1.1 but cannot be used there (because BufferedImage is not available within Java 1.1).
Constructor Summary | |
---|---|
ImageFactory()
|
Method Summary | |
---|---|
static java.awt.Image |
createImage(java.awt.image.ImageProducer a_imageProducer)
Constructs a new Image (BufferedImage implementation) with the default color model (ARGB). |
static java.awt.Image |
createImage(int a_width,
int a_height)
Constructs a new Image (BufferedImage implementation) with the default color model (ARGB). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageFactory()
Method Detail |
---|
public static java.awt.Image createImage(int a_width, int a_height)
a_width
- The width of the new Image.a_height
- The height of the new Image.
public static java.awt.Image createImage(java.awt.image.ImageProducer a_imageProducer)
a_imageProducer
- The producer, which produces the image data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |