Interface AnnotationColorConfiguration.Builder
-
- All Implemented Interfaces:
-
com.pspdfkit.annotations.configuration.AnnotationConfiguration.Builder
public interface AnnotationColorConfiguration.Builder<T> implements AnnotationConfiguration.Builder<T>
Builder for AnnotationColorConfiguration.
-
-
Method Summary
Modifier and Type Method Description abstract T
setDefaultColor(@ColorInt() int defaultColor)
Sets default foreground color. abstract T
setAvailableColors(@NonNull() 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. -
-
Method Detail
-
setDefaultColor
@NonNull() abstract T setDefaultColor(@ColorInt() int defaultColor)
Sets default foreground color.
- Parameters:
defaultColor
- Foreground color used as default for newly created annotations.
-
setAvailableColors
@NonNull() abstract T setAvailableColors(@NonNull() List<Integer> availableColors)
Sets colors that will be available in the color picker.
- Parameters:
availableColors
- List of available colors.
-
setCustomColorPickerEnabled
@NonNull() 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.
-
-
-
-