Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/penggle/kaptcha
/ functions
Functions
60 in github.com/penggle/kaptcha
⨍
Functions
60
◇
Types & classes
23
↓ 20 callers
Method
getConfig
()
src/main/java/com/google/code/kaptcha/util/Configurable.java:12
↓ 9 callers
Method
getWidth
()
src/main/java/com/google/code/kaptcha/util/Config.java:197
↓ 8 callers
Method
getHeight
()
src/main/java/com/google/code/kaptcha/util/Config.java:205
↓ 6 callers
Method
getClassInstance
(String paramName, String paramValue, Object defaultInstance, Config config)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:99
↓ 6 callers
Method
getPositiveInt
(String paramName, String paramValue, int defaultInt)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:154
↓ 5 callers
Method
getColor
(String paramName, String paramValue, Color defaultColor)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:14
↓ 4 callers
Method
makeNoise
Adds noise to an image. It uses four factor values to determine the noise curve. @param image the image to add the noise to @param factorO
src/main/java/com/google/code/kaptcha/NoiseProducer.java:21
↓ 2 callers
Method
fishEyeFormula
implementation of: g(s) = - (3/4)s3 + (3/2)s2 + (1/4)s, with s from 0 to 1 @param s @return
src/main/java/com/google/code/kaptcha/impl/FishEyeGimpy.java:117
↓ 2 callers
Method
getNoiseImpl
()
src/main/java/com/google/code/kaptcha/util/Config.java:134
↓ 1 callers
Method
addBackground
(BufferedImage image)
src/main/java/com/google/code/kaptcha/BackgroundProducer.java:10
↓ 1 callers
Method
createColorFromCommaSeparatedValues
(String paramName, String paramValue)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:34
↓ 1 callers
Method
createColorFromFieldValue
(String paramName, String paramValue)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:75
↓ 1 callers
Method
createImage
Create an image which will have written a distorted text. @param text the distorted characters @return image with the text
src/main/java/com/google/code/kaptcha/Producer.java:17
↓ 1 callers
Method
createText
@return the text to be drawn
src/main/java/com/google/code/kaptcha/Producer.java:22
↓ 1 callers
Method
drawBox
(Graphics2D graphics)
src/main/java/com/google/code/kaptcha/impl/DefaultKaptcha.java:54
↓ 1 callers
Method
getBackgroundColorFrom
()
src/main/java/com/google/code/kaptcha/util/Config.java:181
↓ 1 callers
Method
getBackgroundColorTo
()
src/main/java/com/google/code/kaptcha/util/Config.java:189
↓ 1 callers
Method
getBackgroundImpl
()
src/main/java/com/google/code/kaptcha/util/Config.java:171
↓ 1 callers
Method
getBoolean
(String paramName, String paramValue, boolean defaultValue)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:198
↓ 1 callers
Method
getBorderColor
()
src/main/java/com/google/code/kaptcha/util/Config.java:49
↓ 1 callers
Method
getBorderThickness
()
src/main/java/com/google/code/kaptcha/util/Config.java:57
↓ 1 callers
Method
getChars
(String paramName, String paramValue, char[] defaultChars)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:182
↓ 1 callers
Method
getDistortedImage
@param baseImage the base image @return the image with distortion applied to the base image
src/main/java/com/google/code/kaptcha/GimpyEngine.java:15
↓ 1 callers
Method
getFonts
(String paramName, String paramValue, int fontSize, Font[] defaultFonts)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:133
↓ 1 callers
Method
getNoiseColor
()
src/main/java/com/google/code/kaptcha/util/Config.java:144
↓ 1 callers
Method
getObscurificatorImpl
()
src/main/java/com/google/code/kaptcha/util/Config.java:152
↓ 1 callers
Method
getProducerImpl
()
src/main/java/com/google/code/kaptcha/util/Config.java:65
↓ 1 callers
Method
getSessionDate
Allows one to override the date name which is stored in the users HttpSession. Defaults to Constants.KAPTCHA_SESSION_KEY.
src/main/java/com/google/code/kaptcha/util/Config.java:225
↓ 1 callers
Method
getSessionKey
Allows one to override the key name which is stored in the users HttpSession. Defaults to Constants.KAPTCHA_SESSION_KEY.
src/main/java/com/google/code/kaptcha/util/Config.java:216
↓ 1 callers
Method
getText
()
src/main/java/com/google/code/kaptcha/text/TextProducer.java:9
↓ 1 callers
Method
getTextProducerCharLength
()
src/main/java/com/google/code/kaptcha/util/Config.java:92
↓ 1 callers
Method
getTextProducerCharSpace
()
src/main/java/com/google/code/kaptcha/util/Config.java:126
↓ 1 callers
Method
getTextProducerCharString
()
src/main/java/com/google/code/kaptcha/util/Config.java:84
↓ 1 callers
Method
getTextProducerFontColor
()
src/main/java/com/google/code/kaptcha/util/Config.java:118
↓ 1 callers
Method
getTextProducerFontSize
()
src/main/java/com/google/code/kaptcha/util/Config.java:110
↓ 1 callers
Method
getTextProducerFonts
(int fontSize)
src/main/java/com/google/code/kaptcha/util/Config.java:100
↓ 1 callers
Method
getTextProducerImpl
()
src/main/java/com/google/code/kaptcha/util/Config.java:74
↓ 1 callers
Method
getWordRendererImpl
()
src/main/java/com/google/code/kaptcha/util/Config.java:161
↓ 1 callers
Method
isBorderDrawn
()
src/main/java/com/google/code/kaptcha/util/Config.java:41
↓ 1 callers
Method
ranInt
@param i @param j @return
src/main/java/com/google/code/kaptcha/impl/FishEyeGimpy.java:104
↓ 1 callers
Method
renderWord
(String word, int width, int height)
src/main/java/com/google/code/kaptcha/text/WordRenderer.java:10
↓ 1 callers
Method
setConfig
(Config config)
src/main/java/com/google/code/kaptcha/util/Configurable.java:17
↓ 1 callers
Method
setConfigurable
(Object object, Config config)
src/main/java/com/google/code/kaptcha/util/ConfigHelper.java:220
Method
Config
(Properties properties)
src/main/java/com/google/code/kaptcha/util/Config.java:34
Method
ConfigException
(String paramName, String paramValue, Throwable cause)
src/main/java/com/google/code/kaptcha/util/ConfigException.java:11
Method
addBackground
@param baseImage the base image @return an image with a gradient background added to the base image.
src/main/java/com/google/code/kaptcha/impl/DefaultBackground.java:24
Method
createImage
Create an image which will have written a distorted text. @param text the distorted characters @return image with the text
src/main/java/com/google/code/kaptcha/impl/DefaultKaptcha.java:34
Method
createText
@return the text to be drawn
src/main/java/com/google/code/kaptcha/impl/DefaultKaptcha.java:80
Method
doGet
(HttpServletRequest req, HttpServletResponse resp)
src/main/java/com/google/code/kaptcha/servlet/KaptchaServlet.java:67
Method
getDistortedImage
Applies distortion by adding water ripple effect. @param baseImage the base image @return the distorted image
src/main/java/com/google/code/kaptcha/impl/WaterRipple.java:24
Method
getDistortedImage
Applies distortion by adding shadow to the text and also two noises. @param baseImage the base image @return the distorted image
src/main/java/com/google/code/kaptcha/impl/ShadowGimpy.java:26
Method
getDistortedImage
Applies distortion by adding fish eye effect and horizontal vertical lines. @param baseImage the base image @return the distorted image
src/main/java/com/google/code/kaptcha/impl/FishEyeGimpy.java:21
Method
getProperties
()
src/main/java/com/google/code/kaptcha/util/Config.java:231
Method
getText
@return the random text
src/main/java/com/google/code/kaptcha/text/impl/DefaultTextCreator.java:18
Method
getText
@return random Chinese text
src/main/java/com/google/code/kaptcha/text/impl/ChineseTextProducer.java:20
Method
getText
@return a random first name
src/main/java/com/google/code/kaptcha/text/impl/FiveLetterFirstNameTextCreator.java:1057
Method
init
(ServletConfig conf)
src/main/java/com/google/code/kaptcha/servlet/KaptchaServlet.java:44
Method
makeNoise
(BufferedImage image, float factorOne, float factorTwo, float factorThree, float factorFour)
src/main/java/com/google/code/kaptcha/impl/NoNoise.java:17
Method
makeNoise
Draws a noise on the image. The noise curve depends on the factor values. Noise won't be visible if all factors have the value > 1.0f @param image
src/main/java/com/google/code/kaptcha/impl/DefaultNoise.java:34
Method
renderWord
Renders a word to an image. @param word The word to be rendered. @param width The width of the image to be created. @param heig
src/main/java/com/google/code/kaptcha/text/impl/DefaultWordRenderer.java:33