|
|
|
@ -117,12 +117,12 @@ public class ImageUtils {
|
|
|
|
|
}
|
|
|
|
|
for (List<Point> points : pointList) {
|
|
|
|
|
Graphics2D g2d = image.createGraphics();
|
|
|
|
|
if (StringUtils.isNotBlank(color) && "green".equals(color)) {
|
|
|
|
|
/* if (StringUtils.isNotBlank(color) && "green".equals(color)) {*/
|
|
|
|
|
g2d.setColor(green);
|
|
|
|
|
}else{
|
|
|
|
|
/* }else{
|
|
|
|
|
// 设置线的颜色
|
|
|
|
|
g2d.setColor(new Color(255, 30, 30));
|
|
|
|
|
}
|
|
|
|
|
}*/
|
|
|
|
|
// 定义虚线的样式
|
|
|
|
|
float[] dash = {5.0f};
|
|
|
|
|
BasicStroke dashed =
|
|
|
|
|