|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.captcha.backgrounds.TransparentBackgroundProducer
public class TransparentBackgroundProducer
Generates a transparent background.
Constructor Summary | |
---|---|
TransparentBackgroundProducer()
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
addBackground(java.awt.image.BufferedImage image)
Add the background to the given image. |
java.awt.image.BufferedImage |
getBackground(int width,
int height)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransparentBackgroundProducer()
Method Detail |
---|
public java.awt.image.BufferedImage addBackground(java.awt.image.BufferedImage image)
BackgroundProducer
addBackground
in interface BackgroundProducer
image
- The image onto which the background will be rendered.
public java.awt.image.BufferedImage getBackground(int width, int height)
getBackground
in interface BackgroundProducer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |