Class ShearCaptcha

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

public class ShearCaptcha extends AbstractCaptcha
扭曲(错切)验证码,参考 Hutool 的 ShearCaptcha 设计。
Since:
0.1.0
Author:
suretool
  • Constructor Details

    • ShearCaptcha

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