pcorless / icepdf

PDF Rendering and Viewing API in Java
Apache License 2.0
77 stars 21 forks source link

Set props before drawing #289

Closed shadowenlight closed 7 months ago

shadowenlight commented 1 year ago

Can I set the color, style and thickness of the appropriate annotations before drawing them?

pcorless commented 1 year ago

Must annotation types have system properties to configure default colours, line thickness and opacity. If you look at *AnnotationHandler.java you can see what is available. Most of these handlers also have a method checkAndApplyPreferences() which links them to the ViewerPropertiesManager which is a bit easier to use then system properties.

Which annotation types are you thinking about tweaking before they are drawn?

pcorless commented 7 months ago

Closing, inactive.