When creating a new annotation, the initial properties (such as line thickness, fill colour, opacity, etc.) are set to the last value that the user selected for an annotation of that type. For example, if the user changes an ellipse annotation's stroke color from green to red, the next ellipse annotation that the user creates would have a stroke color of red. These default colors are saved in the app's user default dictionary.
The tools read and write values via the
ColorDefaults type (class) interface.
Sets the default stroke color for rectangle annotations.
Reads the default fill color for ellipse annotations.