setColor

abstract fun setColor(@NonNull annotationTool: AnnotationTool, @ColorInt color: Int)

Sets annotation color to preferences.

Parameters

annotationTool

Annotation tool for which we need the preferences.

color

Color to set.


abstract fun setColor(@NonNull annotationTool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant, @ColorInt color: Int)

Sets annotation color to preferences.

Parameters

annotationTool

Annotation tool for which we need the preferences.

toolVariant

Variant of the annotation tool.

color

Color to set.