getColor

open fun getColor(): Int

Returns a color associated with this annotation or Color#TRANSPARENT if no color is set. Note that alpha channel is not taken into account as per PDF specifications. This is the text color for FreeTextAnnotation and WidgetAnnotation.

Return

Color of annotation or Color#TRANSPARENT if none is set.