getAlpha
Gets last configured annotation alpha from preferences.
Return
Last configured annotation alpha or default alpha if not available.
Parameters
annotationTool
Annotation tool for which we need the preferences.
abstract fun getAlpha(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant): Float
Gets last configured annotation alpha from preferences.
Return
Last configured annotation alpha or default alpha if not available.
Parameters
annotationTool
Annotation tool for which we need the preferences.
toolVariant
Variant of the annotation tool.