Interface AnnotationColorConfiguration
-
- All Implemented Interfaces:
-
com.pspdfkit.annotations.configuration.AnnotationConfiguration
public interface AnnotationColorConfiguration implements AnnotationConfiguration
Configuration for annotation foreground color (COLOR).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
AnnotationColorConfiguration.Builder
Builder for AnnotationColorConfiguration.
-
Method Summary
Modifier and Type Method Description abstract int
getDefaultColor()
Default annotation foreground color. abstract List<Integer>
getAvailableColors()
Colors available in the color picker. abstract boolean
customColorPickerEnabled()
Whether or not the custom color picker is used. -
-
Method Detail
-
getDefaultColor
@ColorInt() abstract int getDefaultColor()
Default annotation foreground color.
- Returns:
Foreground color used as default for created annotations.
-
getAvailableColors
@NonNull() abstract List<Integer> getAvailableColors()
Colors available in the color picker.
- Returns:
List of available colors.
-
customColorPickerEnabled
abstract boolean customColorPickerEnabled()
Whether or not the custom color picker is used.
- Returns:
true
if the custom color picker is used,false
otherwise.
-
-
-
-