| java.lang.Object | |
| ↳ | com.pspdfkit.configuration.rendering.AnnotationRenderConfiguration.Builder |
Builder to create a AnnotationRenderConfiguration instance.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Builder() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AnnotationRenderConfiguration |
build()
Creates the configuration for annotation rendering.
| ||||||||||
| AnnotationRenderConfiguration.Builder |
formHighlightColor(Integer color)
Sets color used for highlighting editable form fields.
| ||||||||||
| AnnotationRenderConfiguration.Builder |
formItemHighlightColor(Integer color)
Sets color used for highlighting selected items inside lists, combo boxes and similar.
| ||||||||||
| AnnotationRenderConfiguration.Builder |
formRequiredFieldBorderColor(Integer color)
Sets color of the border around required form fields.
| ||||||||||
| AnnotationRenderConfiguration.Builder |
invertColors(boolean invertColors)
Sets whether annotation colors will be inverted in the rendering.
| ||||||||||
| AnnotationRenderConfiguration.Builder |
redactionAnnotationPreviewEnabled(boolean enable)
Sets redaction annotation preview enabled,
false by default. | ||||||||||
| AnnotationRenderConfiguration.Builder |
toGrayscale(boolean toGrayscale)
Sets whether annotation colors will be converted to grayscale.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Sets color used for highlighting editable form fields. Each editable form field is overlaid with rectangle filled with this color.
| color | ARGB color integer (can be TRANSPARENT) or null to use default color (#330036FF).
|
|---|
Sets color used for highlighting selected items inside lists, combo boxes and similar.
| color | ARGB color integer (can be TRANSPARENT) or null to use default color (#339AC1D9).
|
|---|
Sets color of the border around required form fields.
| color | ARGB color integer (can be TRANSPARENT) or null to use default color (#FFFF0000).
|
|---|
Sets whether annotation colors will be inverted in the rendering.
| invertColors | true to invert colors, false otherwise.
|
|---|
Sets redaction annotation preview enabled, false by default.
| enable | true to enable redaction annotation preview.
|
|---|
Sets whether annotation colors will be converted to grayscale.
| toGrayscale | true to covert to grayscale, false otherwise.
|
|---|