setAlpha

abstract fun setAlpha(@NonNull annotationTool: AnnotationTool, @FloatRange(from = 0.0, to = 1.0) alpha: Float)

Sets annotation alpha to preferences.

Parameters

annotationTool

Annotation tool for which we need the preferences.

alpha

Thickness in pt.


abstract fun setAlpha(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @FloatRange(from = 0.0, to = 1.0) alpha: Float)

Sets annotation alpha to preferences.

Parameters

annotationTool

Annotation tool for which we need the preferences.

toolVariant

Variant of the annotation tool.

alpha

Thickness in pt.