getFont

abstract fun getFont(@NonNull annotationTool: AnnotationTool): Font

Gets last configured annotation font from preferences.

Return

Last configured annotation font or default annotation font if not available.

Parameters

annotationTool

Annotation tool for which we need the preferences.


abstract fun getFont(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant): Font

Gets last configured annotation font from preferences.

Return

Last configured annotation font or default annotation font if not available.

Parameters

annotationTool

Annotation tool for which we need the preferences.

toolVariant

Variant of the annotation tool.