Commit ed9e789a authored by jiaorz's avatar jiaorz

活动记录

parent 8389261e
...@@ -71,8 +71,8 @@ public class ClickWordCaptcha extends AbstractCaptcha { ...@@ -71,8 +71,8 @@ public class ClickWordCaptcha extends AbstractCaptcha {
List<Point> pointList = new ArrayList(); List<Point> pointList = new ArrayList();
Graphics backgroundGraphics = backgroundImage.getGraphics(); Graphics backgroundGraphics = backgroundImage.getGraphics();
int width = backgroundImage.getWidth(); int width = (int) (backgroundImage.getWidth()*0.9);
int height = backgroundImage.getHeight(); int height = (int) (backgroundImage.getHeight()*0.85);
dataVO.setWidth(width); dataVO.setWidth(width);
dataVO.setHeight(height); dataVO.setHeight(height);
Font font = new Font(HAN_ZI_FONT, Font.BOLD, HAN_ZI_SIZE); Font font = new Font(HAN_ZI_FONT, Font.BOLD, HAN_ZI_SIZE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment