How to set annotation defaults?

Question:

We have a PDFTron control in our IOS app and I”m trying to configure opacity, stroke thickness and color of freehand drawn lines.
Can you please direct me how to do this?

Answer:

Please see the ColorDefaults.h file in the Tools project. This interface allows you to control defaults.

Sample\Lib\Tools\src\PDFViewCtrlTools\Tools\ColorDefaults.h