nl.captcha.backgrounds
Class SquigglesBackgroundProducer

java.lang.Object
  extended by nl.captcha.backgrounds.SquigglesBackgroundProducer
All Implemented Interfaces:
BackgroundProducer

public class SquigglesBackgroundProducer
extends java.lang.Object
implements BackgroundProducer


Constructor Summary
SquigglesBackgroundProducer()
           
 
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

SquigglesBackgroundProducer

public SquigglesBackgroundProducer()
Method Detail

addBackground

public java.awt.image.BufferedImage addBackground(java.awt.image.BufferedImage image)
Description copied from interface: BackgroundProducer
Add the background to the given image.

Specified by:
addBackground in interface BackgroundProducer
Parameters:
image - The image onto which the background will be rendered.
Returns:
The image with the background rendered.

getBackground

public java.awt.image.BufferedImage getBackground(int width,
                                                  int height)
Specified by:
getBackground in interface BackgroundProducer


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