|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.component.image.fontgenerator.AbstractFontGenerator
public abstract class AbstractFontGenerator
Base class for Font generators. Sub classes must implement the getFont() method that return a Font. use constructor to specify your generator properties. This base class only use two parameters, minFontSize and maxFontsize wich are the size font boundaries returned by the implementation. By default minFontSize=10 and maxFontSize = 14.
Method Summary | |
---|---|
int |
getMaxFontSize()
|
int |
getMinFontSize()
|
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.fontgenerator.FontGenerator |
---|
getFont |
Method Detail |
---|
public int getMinFontSize()
getMinFontSize
in interface FontGenerator
public int getMaxFontSize()
getMaxFontSize
in interface FontGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |