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 |
showSignHereOverlay(boolean showOverlay)
Sets whether or not the sign here overlay in signature form fields should be shown.
| ||||||||||
AnnotationRenderConfiguration.Builder |
signHereOverlayBackgroundColor(Integer color)
Sets color of the background of the sign here arrow.
| ||||||||||
AnnotationRenderConfiguration.Builder |
toGrayscale(boolean toGrayscale)
Sets whether annotation colors will be converted to grayscale.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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 Color#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 Color#TRANSPARENT ) or null to use
default color (#339AC1D9).
|
---|
Sets color of the border around required form fields.
color | ARGB color integer (can be Color#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 or not the sign here overlay in signature form fields should be shown.
true
by default.
showOverlay | true to show the sign here overlay, false to hide it.
|
---|
Sets color of the background of the sign here arrow.
color | ARGB color integer or Color#TRANSPARENT to not show the background.
|
---|
Sets whether annotation colors will be converted to grayscale.
toGrayscale | true to covert to grayscale, false otherwise.
|
---|