get Alpha
Gets last configured annotation alpha from preferences.
Return
Last configured annotation alpha or default alpha if not available.
Parameters
annotation Tool
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
annotation Tool
Annotation tool for which we need the preferences.
tool Variant
Variant of the annotation tool.