|
@@ -12,7 +12,13 @@ import Foundation
|
|
|
self.init(document: document)
|
|
|
if let model = CPDFAnnotationModel(annotationType: annotationType) {
|
|
|
self.color = model.measureBorderColor() ?? NSColor.blue
|
|
|
- self.interiorColor = model.measureLineColor() ?? NSColor.clear
|
|
|
+// self.interiorColor = model.measureLineColor() ?? NSColor.clear
|
|
|
+// self.interiorColor = model.measureLineColor()
|
|
|
+ if let data = model.measureLineColor() {
|
|
|
+ self.interiorColor = data
|
|
|
+ } else {
|
|
|
+ self.removeInteriorColor()
|
|
|
+ }
|
|
|
self.border = CPDFBorder(style: model.measureLineStyle(), lineWidth: model.measureLineWidth(), dashPattern: model.measureDashPattern())
|
|
|
self.opacity = model.measureOpacity()
|
|
|
if let font = CPDFFont.mappingFont(withFontString: model.measureFontName()) {
|