|
@@ -19,9 +19,9 @@ public class SheetBuildUtil {
|
|
|
Graphics2D g = newImg.createGraphics();
|
|
|
g.drawImage(image, 0, 0, image.getWidth(), image.getHeight(), null);
|
|
|
g.setColor(Color.RED);
|
|
|
- g.setFont(new Font("Arial", Font.PLAIN, 50));
|
|
|
+ g.setFont(new Font("Arial", Font.PLAIN, 60));
|
|
|
for (PictureTag tag : tags) {
|
|
|
- g.drawString(tag.getContent(), tag.getLeft(), tag.getTop());
|
|
|
+ g.drawString(tag.getContent(), Math.max(60, tag.getLeft()), Math.max(60, tag.getTop()));
|
|
|
}
|
|
|
g.dispose();
|
|
|
image = newImg;
|