com.octo.captcha.component.image.backgroundgenerator
Interface BackgroundGenerator

All Known Implementing Classes:
AbstractBackgroundGenerator, EllipseBackgroundGenerator, FileReaderRandomBackgroundGenerator, FunkyBackgroundGenerator, GradientBackgroundGenerator, MultipleShapeBackgroundGenerator, UniColorBackgroundGenerator

public interface BackgroundGenerator

Used by ComposedWordToImage to build a background image

Version:
1.0
Author:
Marc-Antoine Garrigue

Method Summary
 java.awt.image.BufferedImage getBackground()
          Generates a backround image on wich text will be paste.
 int getImageHeight()
           
 int getImageWidth()
           
 

Method Detail

getImageHeight

int getImageHeight()
Returns:
the generated image height

getImageWidth

int getImageWidth()
Returns:
teh generated image width

getBackground

java.awt.image.BufferedImage getBackground()
Generates a backround image on wich text will be paste. Implementations must take into account the imageHeigt and imageWidth.

Returns:
the background image


Copyright © 2003-2012 JCaptcha corp.. All Rights Reserved.