Captcha icon indicating copy to clipboard operation
Captcha copied to clipboard

PictureVertifyView is not public

Open zhichong opened this issue 7 years ago • 4 comments

PictureVertifyView is not public ,无法导包

zhichong avatar Feb 03 '18 09:02 zhichong

PictureVertifyView对外是不开放的,如果想修改其样式,请重写CaptchaStrategy类(对拼图的位置生成、绘制、形状、装饰等)。若CaptchaStrategy的接口仍然满足不了你的需求。可以提出来,下一个版本做修改。

luozhanming avatar Feb 05 '18 01:02 luozhanming

重写CaptchaStrategy要是实现getBlockPostionInfo()方法,返回值是PictureVertifyView.PositionInfo,这里的PictureVertifyView会报错.

zhichong avatar Feb 05 '18 02:02 zhichong

不好意思,犯了个低级错误,版本更新至1.1.0。感谢您的反馈

luozhanming avatar Feb 05 '18 02:02 luozhanming

膜拜大神.

zhichong avatar Feb 05 '18 02:02 zhichong