Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用 PDFView 向 PDF 页面添加注释。然而,注释的背景颜色默认是透明的红色。是否可以更改注释背景颜色?
而且我发现调整大小的点非常小,我也可以改变调整大小的点大小吗?
非常感谢。我附上了截图。
得到了答案。更改 DrawPage 中的代码:
path = [NSBezierPath bezierPathWithRect: bounds]; [path setLineJoinStyle: NSRoundLineJoinStyle]; [[NSColor colorWithDeviceRed: 0.0 green: 0.0 blue: 0.0 alpha: 0.1] set]; //change Here [path fill]; [[NSColor blackColor] set];