nl.captcha.backgrounds
Interface BackgroundProducer

All Known Implementing Classes:
FlatColorBackgroundProducer, GradiatedBackgroundProducer, SquigglesBackgroundProducer, TransparentBackgroundProducer

public interface BackgroundProducer

Author:
James Childers

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)
           
 

Method Detail

addBackground

java.awt.image.BufferedImage addBackground(java.awt.image.BufferedImage image)
Add the background to the given image.

Parameters:
image - The image onto which the background will be rendered.
Returns:
The image with the background rendered.

getBackground

java.awt.image.BufferedImage getBackground(int width,
                                           int height)


Copyright © 2010-2011 James Childers. All Rights Reserved.