getThickness

@FloatRange(from = 0.0)
abstract fun getThickness(@NonNull annotationTool: AnnotationTool): Float

Gets last configured annotation thickness from preferences.

Return

Last configured annotation thickness or default thickness if not available.

Parameters

annotationTool

Annotation tool for which we need the preferences.


@FloatRange(from = 0.0)
abstract fun getThickness(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant): Float

Gets last configured annotation thickness from preferences.

Return

Last configured annotation thickness or default thickness if not available.

Parameters

annotationTool

Annotation tool for which we need the preferences.

toolVariant

Variant of the annotation tool.