|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.captcha.backgrounds.FlatColorBackgroundProducer
public final class FlatColorBackgroundProducer
Constructor Summary | |
---|---|
FlatColorBackgroundProducer()
|
|
FlatColorBackgroundProducer(java.awt.Color color)
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
addBackground(java.awt.image.BufferedImage bi)
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 FlatColorBackgroundProducer()
public FlatColorBackgroundProducer(java.awt.Color color)
Method Detail |
---|
public java.awt.image.BufferedImage addBackground(java.awt.image.BufferedImage bi)
BackgroundProducer
addBackground
in interface BackgroundProducer
bi
- 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 |