public static class Redactor.Appearance
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
border
Border specifies if the overlay will be surrounded by a border.
|
Font |
font
Specifies the font used to represent the text in the overlay.
|
int |
horizTextAlignment
Specifies the horizontal text alignment in the overlay:
align%lt;0 -> text will be left aligned.
|
double |
maxFontSize
Specifies the maximum font size used to represent the text in the overlay.
|
double |
minFontSize
Specifies the minimum font size used to represent the text in the overlay.
|
ColorPt |
negativeOverlayColor
NegativeOverlayColor defines the overlay background color in RGB color space for negative redactions.
|
ColorPt |
positiveOverlayColor
PositiveOverlayColor defines the overlay background color in RGB color space for positive redactions.
|
ColorPt |
redactedContentColor
Specifies the color used to paint the regions where content was removed.
|
boolean |
redactionOverlay
If RedactionOverlay is set to true, Redactor will draw an overlay
covering all redacted regions.
|
boolean |
showRedactedContentRegions
Specifies whether an overlay should be drawn in place of the redacted content.
|
ColorPt |
textColor
Specifies the color used to paint the text in the overlay (in RGB).
|
boolean |
useOverlayText
Specifies if the text (e.g.
|
int |
vertTextAlignment
Specifies the vertical text alignment in the overlay:
align<0 -> text will be top aligned.
|
Constructor and Description |
---|
Appearance() |
public boolean redactionOverlay
public ColorPt positiveOverlayColor
public ColorPt negativeOverlayColor
public boolean border
public boolean useOverlayText
public Font font
public double minFontSize
public double maxFontSize
public ColorPt textColor
public int horizTextAlignment
public int vertTextAlignment
public boolean showRedactedContentRegions
Note: The overlay region used redactedContentColor as a fill color.
public ColorPt redactedContentColor
public Appearance() throws PDFNetException
PDFNetException