public static interface

AnnotationOutlineColorConfiguration.Builder

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

Class Overview

Builder for AnnotationOutlineColorConfiguration.

Summary

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

Public Methods

public abstract T setAvailableOutlineColors (List<Integer> availableColors)

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

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

Sets default outline color.

Parameters
defaultColor Outline color used as default for created annotations.