|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.octo.captcha.component.image.backgroundgenerator.AbstractBackgroundGenerator
public abstract class AbstractBackgroundGenerator
Abstract base class for background generator. Sub classes must implement the getBackground() method that return a newly generated background. use constructor to specify your backgroundGenerator properties. This base class only use two parameter, width and height of the generated background. By default widht = 200 and height= 100.
| Method Summary | |
|---|---|
int |
getImageHeight()
|
int |
getImageWidth()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.octo.captcha.component.image.backgroundgenerator.BackgroundGenerator |
|---|
getBackground |
| Method Detail |
|---|
public int getImageHeight()
getImageHeight in interface BackgroundGeneratorpublic int getImageWidth()
getImageWidth in interface BackgroundGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||