I have the following code:
DefaultAppearance appearance = new DefaultAppearance();
FreeTextAnnotation anno = new FreeTextAnnotation(page, rect, appearance);
It works fine. The question is how can I update the DefaultAppearance? I see that there is setDefaultAppearance API but it accepts a String instead of a DefaultAppearance so I don’t know how to update it.
What I want is to update text color, font name, font size like in the above. Thank you.