diff options
Diffstat (limited to 'components/file-manager/creaetWaterMarks.tsx')
| -rw-r--r-- | components/file-manager/creaetWaterMarks.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/file-manager/creaetWaterMarks.tsx b/components/file-manager/creaetWaterMarks.tsx index a9072150..ebf4322e 100644 --- a/components/file-manager/creaetWaterMarks.tsx +++ b/components/file-manager/creaetWaterMarks.tsx @@ -1,8 +1,8 @@ export const createCustomWatermark: CreateCustomWatermark = ({ text, fontSize = 14, - color = "rgba(128, 128, 128, 0.15)", // 더 연한 회색, 더 투명하게 - opacity = 15, // 더 낮은 opacity + color = "rgba(128, 128, 128, 0.3)", // 더 연한 회색, 더 투명하게 + opacity = 30, // 더 낮은 opacity rotation = -45, fontFamily = "Arial", }) => { @@ -30,8 +30,8 @@ export const createCustomWatermark: CreateCustomWatermark = ({ const textBlockHeight = lines.length * lineHeight; // 격자 간격 계산 (텍스트 블록 크기 기반) - const horizontalSpacing = maxLineWidth * 1.8; // 가로 간격 - const verticalSpacing = textBlockHeight * 2.5; // 세로 간격 + const horizontalSpacing = maxLineWidth * 0.8; // 가로 간격 + const verticalSpacing = textBlockHeight * 1.5; // 세로 간격 // 회전을 고려한 대각선 길이 계산 const diagonal = Math.sqrt(pageWidth * pageWidth + pageHeight * pageHeight); |
