Uses of Class
cloud.opencode.base.captcha.CaptchaConfig.Builder
Packages that use CaptchaConfig.Builder
Package
Description
OpenCode Base Captcha - Zero-dependency CAPTCHA generation library
OpenCode Base 验证码 - 零依赖验证码生成库
CAPTCHA Support Utilities
验证码支持工具
-
Uses of CaptchaConfig.Builder in cloud.opencode.base.captcha
Methods in cloud.opencode.base.captcha that return CaptchaConfig.BuilderModifier and TypeMethodDescriptionCaptchaConfig.Builder.audioSpeedVariation(float audioSpeedVariation) Sets the audio speed variation range.CaptchaConfig.Builder.backgroundColor(Color backgroundColor) Sets the background color.CaptchaConfig.Builder.bezierNoiseEnabled(boolean bezierNoiseEnabled) Sets whether Bezier curve noise is enabled.static CaptchaConfig.BuilderCaptchaConfig.builder()Creates a builder for configuration.CaptchaConfig.Builder.caseSensitive(boolean caseSensitive) Sets case sensitivity.CaptchaConfig.Builder.charOverlapRatio(float charOverlapRatio) Sets the character overlap ratio.CaptchaConfig.Builder.customFontPath(String path) Adds a single custom font path.CaptchaConfig.Builder.customFontPaths(List<String> paths) Sets the custom font paths.CaptchaConfig.Builder.expireTime(Duration expireTime) Sets the expiration time.CaptchaConfig.Builder.fontColors(Color... fontColors) Sets the font colors.Sets the font name.CaptchaConfig.Builder.fontSize(float fontSize) Sets the font size.CaptchaConfig.Builder.gifDelay(int gifDelay) Sets the GIF frame delay.CaptchaConfig.Builder.gifFrameCount(int gifFrameCount) Sets the GIF frame count.CaptchaConfig.Builder.height(int height) Sets the image height.CaptchaConfig.Builder.length(int length) Sets the CAPTCHA code length.CaptchaConfig.Builder.noiseDots(int noiseDots) Sets the number of noise dots.CaptchaConfig.Builder.noiseLines(int noiseLines) Sets the number of noise lines.CaptchaConfig.Builder.outlineShadowEnabled(boolean outlineShadowEnabled) Sets whether character outline shadow is enabled.CaptchaConfig.Builder.powDifficulty(int powDifficulty) Sets the PoW (Proof-of-Work) difficulty.CaptchaConfig.Builder.randomFontPerChar(boolean randomFontPerChar) Sets whether each character uses a random different font.CaptchaConfig.Builder.sineWarpEnabled(boolean sineWarpEnabled) Sets whether sine wave warp is enabled.CaptchaConfig.toBuilder()Creates a builder from this configuration.CaptchaConfig.Builder.type(CaptchaType type) Sets the CAPTCHA type.CaptchaConfig.Builder.width(int width) Sets the image width. -
Uses of CaptchaConfig.Builder in cloud.opencode.base.captcha.support
Methods in cloud.opencode.base.captcha.support that return CaptchaConfig.BuilderModifier and TypeMethodDescriptionCaptchaStrength.applyTo(CaptchaConfig.Builder builder) Applies this strength to a configuration builder.Methods in cloud.opencode.base.captcha.support with parameters of type CaptchaConfig.BuilderModifier and TypeMethodDescriptionCaptchaStrength.applyTo(CaptchaConfig.Builder builder) Applies this strength to a configuration builder.