Class CircleCaptcha

java.lang.Object
com.sure.tool.captcha.AbstractCaptcha
com.sure.tool.captcha.CircleCaptcha
All Implemented Interfaces:
Captcha

public class CircleCaptcha extends AbstractCaptcha
圆圈干扰验证码,参考 Hutool 的 CircleCaptcha 设计。
Since:
0.1.0
Author:
suretool
  • Constructor Details

    • CircleCaptcha

      public CircleCaptcha(int width, int height, int codeCount, int interfereCount)
      创建圆圈干扰验证码。
      Parameters:
      width - 图片宽度
      height - 图片高度
      codeCount - 字符个数
      interfereCount - 干扰圆数量
  • Method Details