summaryrefslogtreecommitdiff
path: root/components/file-manager/creaetWaterMarks.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-10-23 06:11:55 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-10-23 06:11:55 +0000
commit008f824e4f549695274678122435a524fe6fae9c (patch)
tree7fdbf2a86bcc014467c31fcc42fcae37b61296a6 /components/file-manager/creaetWaterMarks.tsx
parentb83f22dcd593c80f0feadc3b3703aab30da296c5 (diff)
(임수민) 데이터룸 워터마크, 텍스트 파일 타입 뷰 수정
Diffstat (limited to 'components/file-manager/creaetWaterMarks.tsx')
-rw-r--r--components/file-manager/creaetWaterMarks.tsx8
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);