|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.kaptcha.util.Configurable
com.google.code.kaptcha.impl.DefaultBackground
public class DefaultBackground
Default implementation of BackgroundProducer
, adds a gradient
background to an image. The gradient color is diagonal and made of Color From
(top left) and Color To (bottom right).
Constructor Summary | |
---|---|
DefaultBackground()
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
addBackground(java.awt.image.BufferedImage baseImage)
|
Methods inherited from class com.google.code.kaptcha.util.Configurable |
---|
getConfig, setConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBackground()
Method Detail |
---|
public java.awt.image.BufferedImage addBackground(java.awt.image.BufferedImage baseImage)
addBackground
in interface BackgroundProducer
baseImage
- the base image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |