Builder

Builder for AnnotationColorConfiguration.

Parameters

<T>

Type of the builder, used to return correct builder subclass from builder's methods.

Inheritors

Functions

Link copied to clipboard
abstract fun setAvailableColors(@NonNull availableColors: List<Integer>): T
Sets colors that will be available in the color picker.
Link copied to clipboard
abstract fun setDefaultColor(@ColorInt defaultColor: Int): T
Sets default foreground color.
Link copied to clipboard
abstract fun setRestrictToAvailableColors(restrictToAvailableColors: Boolean): T
Sets whether the user is restricted to the available colors.