public static interface

AnnotationFillColorConfiguration.Builder

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

Class Overview

Builder for AnnotationFillColorConfiguration.

Summary

Public Methods
abstract T setAvailableFillColors(List<Integer> availableColors)
Sets fill 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 setDefaultFillColor(int defaultColor)
Sets default fill color.
[Expand]
Inherited Methods
From interface com.pspdfkit.annotations.configuration.AnnotationConfiguration.Builder

Public Methods

public abstract T setAvailableFillColors (List<Integer> availableColors)

Sets fill colors that will be available in the color picker.

Parameters
availableColors List of available fill 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 setDefaultFillColor (int defaultColor)

Sets default fill color.

Parameters
defaultColor Fill color used as default for created annotations.