get Color
Retrieve last configured color from preferences. Uses default tool variant.
Return
Last configured color from preferences or default color if not available.
Parameters
annotation Tool
Annotation tool for which we need the preferences.
abstract fun getColor(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant): Int
Retrieve last configured color from preferences.
Return
Last configured color from preferences or default color if not available.
Parameters
annotation Tool
Annotation tool for which we need the preferences.
tool Variant
Variant of the annotation tool.