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