feat: 水印格式宽度调整
This commit is contained in:
@@ -79,7 +79,7 @@ public class SysWaterMarkUtil {
|
||||
// 根据页面宽度动态调整字体大小
|
||||
float dynamicFontSize = pageWidth * (this.fontSize / 595); // 假设基准页面宽度为595单位
|
||||
|
||||
float xStep = pageWidth / 4;
|
||||
float xStep = pageWidth / 2;
|
||||
float yStep = pageHeight / 8;
|
||||
float rotationInRadians = (float) Math.toRadians(30);
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public class WaterMarkUtil {
|
||||
// 根据页面宽度动态调整字体大小
|
||||
float dynamicFontSize = pageWidth * (this.fontSize / 595); // 假设基准页面宽度为595单位
|
||||
|
||||
float xStep = pageWidth / 4;
|
||||
float xStep = pageWidth / 2;
|
||||
float yStep = pageHeight / 8;
|
||||
float rotationInRadians = (float) Math.toRadians(30);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user