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