public interface

AnnotationColorConfiguration

implements AnnotationConfiguration
com.pspdfkit.annotations.configuration.AnnotationColorConfiguration
Known Indirect Subclasses

Class Overview

Configuration for annotation foreground color (COLOR).

Summary

Nested Classes
interface AnnotationColorConfiguration.Builder<T> Builder for AnnotationColorConfiguration
Public Methods
abstract boolean customColorPickerEnabled()
Whether or not the custom color picker is used.
abstract List<Integer> getAvailableColors()
Colors available in the color picker.
abstract int getDefaultColor()
Default annotation foreground color.
[Expand]
Inherited Methods
From interface com.pspdfkit.annotations.configuration.AnnotationConfiguration

Public Methods

public abstract boolean customColorPickerEnabled ()

Whether or not the custom color picker is used.

Returns
  • true if the custom color picker is used, false otherwise.

public abstract List<Integer> getAvailableColors ()

Colors available in the color picker.

Returns
  • List of available colors.

public abstract int getDefaultColor ()

Default annotation foreground color.

Returns
  • Foreground color used as default for created annotations.