public static interface

AnnotationColorConfiguration.Builder

implements AnnotationConfiguration.Builder<T>
com.pspdfkit.annotations.configuration.AnnotationColorConfiguration.Builder<T>
Known Indirect Subclasses

Class Overview

Builder for AnnotationColorConfiguration.

Summary

Public Methods
abstract T setAvailableColors(List<Integer> availableColors)
Sets colors that will be available in the color picker.
abstract T setCustomColorPickerEnabled(boolean customColorPickerEnabled)
Sets whether or not the custom color picker is used.
abstract T setDefaultColor(int defaultColor)
Sets default foreground color.
[Expand]
Inherited Methods
From interface com.pspdfkit.annotations.configuration.AnnotationConfiguration.Builder

Public Methods

public abstract T setAvailableColors (List<Integer> availableColors)

Sets colors that will be available in the color picker.

Parameters
availableColors List of available colors.

public abstract T setCustomColorPickerEnabled (boolean customColorPickerEnabled)

Sets whether or not the custom color picker is used.

Parameters
customColorPickerEnabled true if the custom color picker should be used, false otherwise.

public abstract T setDefaultColor (int defaultColor)

Sets default foreground color.

Parameters
defaultColor Foreground color used as default for newly created annotations.