Browse Source

【fix】【标记密文】添加涂白的区域,建议有一个颜色区分的框(参考密文区域有一个红色框)

tangchao 5 months ago
parent
commit
09d4ce875c

+ 2 - 2
PDF Office/PDF Master/Class/PDFTools/Redact/View/KMRedactPDFView.swift

@@ -310,7 +310,7 @@ private let KMPDFViewRedactAnnotationAcross = "KMPDFViewRedactAnnotationAcross"
 //                    annotation?.borderWidth = 10
                     annotation?.borderWidth = 2
                     if self.isWhiteOut {
-                        annotation?.setBorderColor(.white)
+                        annotation?.setBorderColor(.red)
                         annotation?.setInteriorColor(.white)
                     } else {
                         annotation?.setBorderColor(KMPDFAnnotationRedactConfig.shared.redactOutlineColor)
@@ -394,7 +394,7 @@ private let KMPDFViewRedactAnnotationAcross = "KMPDFViewRedactAnnotationAcross"
 //                annotation?.borderWidth = 10
                 annotation?.borderWidth = 2
                 if self.isWhiteOut {
-                    annotation?.setBorderColor(.white)
+                    annotation?.setBorderColor(.red)
                     annotation?.setInteriorColor(.white)
                 } else {
                     annotation?.setBorderColor(KMPDFAnnotationRedactConfig.shared.redactOutlineColor)