getFillColor

abstract fun getFillColor(@NonNull annotationTool: AnnotationTool): Int

Retrieve last configured fill color from preferences.

Return

Last configured fill color from preferences or default fill color if not available.

Parameters

annotationTool

Annotation tool for which we need the preferences.


abstract fun getFillColor(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant): Int

Retrieve last configured fill color from preferences.

Return

Last configured fill color from preferences or default fill color if not available.

Parameters

annotationTool

Annotation tool for which we need the preferences.

toolVariant

Variant of the annotation tool.