public interface CaptchaDraw
| Modifier and Type | Method and Description |
|---|---|
String |
draw(Graphics2D g,
int width,
int height,
Font[] fonts,
Random random)
画验证码层
|
boolean |
validate(String code,
String userInputCaptcha)
校验
|
String draw(Graphics2D g, int width, int height, Font[] fonts, Random random)
g - Graphics2Dwidth - 画布宽度height - 画布高度fonts - 字体random - RandomCopyright © 2024. All rights reserved.