public class Redaction extends Annotation
| Constructor and Description |
|---|
Redaction(Page page,
java.util.List<Quad> regions)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
java.lang.String fontName)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
java.lang.String fontName,
double textSize)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
java.lang.String fontName,
double textSize,
boolean repeat)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
java.lang.String fontName,
double textSize,
boolean repeat,
boolean scaleToFit)
Create a new Redaction annotation object with extended options.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
double textSize)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
double textSize,
boolean repeat)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
Redaction(Page page,
java.util.List<Quad> regions,
Font font,
Color internalColor,
boolean fillRedacted,
boolean drawBorder,
Color borderColor,
boolean fillNormal,
Color fillColor,
double fillOpacity,
java.lang.String overlayText,
Color textColor,
double textSize,
boolean repeat,
boolean scaleToFit)
Create a new Redaction annotation object with extended options .When Overlay Text is used, font is provided as a font.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
HorizontalAlignment |
getAlign()
Get the horizontal alignment for the redaction text.
|
double |
getAnnotationFeatureLevel()
Get the minimum PDF version necessary to support the features used in this annotation.
|
Color |
getBorderColor()
Get the color used as the "normal" border.
|
boolean |
getDrawBorder()
Get Draw Border option
|
Color |
getFillColor()
Get the color used to fill the "normal" appearance area.
|
boolean |
getFillNormal()
Get Fill Normal Appearance option
|
double |
getFillOpacity()
Get the opacity applied to the fill color in "normal" appearance.
|
boolean |
getFillRedacted()
Get Fill Redacted Appearance option
|
java.lang.String |
getFontFace()
Get Font face for the text
|
double |
getFontSize()
Get font size for the text;
|
Color |
getInternalColor()
Get the color used as the replacement background.
|
java.lang.String |
getNote()
Get the text string to be used as the Popup contents
|
Font |
getOverlayFont()
Get Overlay Text Font
|
java.lang.String |
getOverlayText()
Get the optional overlay text of the redaction.
|
int |
getPageNo()
Get the page number where the redaction occurs.
|
java.util.List<Quad> |
getQuads()
A list of quads to mark.
|
boolean |
getRepeat()
Get the repeat value
|
boolean |
getScaleToFit()
Get the ScaleToFit value
|
Color |
getTextColor()
Get the color used for the overlay text.
|
void |
setAlign(HorizontalAlignment halign)
Sets the horizontal alignment for the redaction text.
|
void |
setAnnotationFeatureLevel(double featureLevel)
Removes features not supported in the supplied version number.
|
void |
setBorderColor(Color col)
Set the color used as the "normal" border.
|
void |
setDrawBorder(boolean Option)
Set Draw Border option
|
void |
setFillColor(Color col,
double opacity)
Set the color used to fill the "normal" appearance.
|
void |
setFillNormal(boolean Option)
Set Fill Normal Appearance option
|
void |
setFillRedacted(boolean Option)
Set Fill Redacted Appearance option
|
void |
setFontFace(java.lang.String fontName)
Set Font face for the text
|
void |
setFontSize(double fontsize)
Set font size for text
|
void |
setInternalColor(Color col)
Set the color used as the replacement background.
|
void |
setNote(java.lang.String notetext)
Set the text string to be used as the Popup Contents
|
void |
setOverlayFont(Font font)
Set Overlay Text Font
|
void |
setOverlayText(java.lang.String otext)
Set the optional overlay text of the redaction.
|
void |
setPageNo(int pgNo)
Sets the page number where the redaction occurs.
|
void |
setQuads(java.util.List<Quad> theQuads)
A list of quads to mark.
|
void |
setRepeat(boolean Value)
Set the repeat value
|
void |
setScaleToFit(boolean Value)
Set the ScaleToFit value
|
void |
setTextColor(Color col)
Set the color used for the overlay text.
|
equals, generateAppearance, getColor, getContents, getFlags, getInteriorColor, getNormalAppearance, getOpacity, getOptionalContentMembershipDict, getPDFDict, getRect, getSubtype, getTitle, hasRichTextData, isCurrentlyVisible, setColor, setContents, setFlags, setInteriorColor, setNormalAppearance, setOpacity, setOptionalContentMembershipDict, setRect, setTitle, toStringpublic Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, java.lang.String fontName, double textSize, boolean repeat, boolean scaleToFit)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, java.lang.String fontName, double textSize, boolean repeat)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, java.lang.String fontName, double textSize)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, java.lang.String fontName)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted, boolean drawBorder)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor, boolean fillRedacted)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Color internalColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance (and in the final document, after redactions are applied). This parameter is considered true if not omitted.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. This parameter is considered true if not omitted.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color (If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.fontName - The name of the font to be used when setting the overlayText. When absent or empty, the standard font Helvtica will be used. Using this option, a new internal font is created for each redaction. Each is subset and embedded. When many, many redactions are to be created, this can result in a significant use of processing time. When many redactions are to be created, the option using a font object in place of the font name is preferred.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area. when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, double textSize, boolean repeat, boolean scaleToFit)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, double textSize, boolean repeat)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor, double textSize)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText, Color textColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity, java.lang.String overlayText)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor, double fillOpacity)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal, Color fillColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor, boolean fillNormal)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder, Color borderColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted, boolean drawBorder)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor, boolean fillRedacted)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font, Color internalColor)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public Redaction(Page page, java.util.List<Quad> regions, Font font)
page - The page where this redaction mark is found.regions - A vector of quadrilateral regions specifying the redaction's bounds, specified in user space coordinates.font - The font to be used when creating overlay text. For most efficiency, this font should be created prior to the first redaction, and used for all redactions. After the last redaction is created the font may be subset and embedded. Using this option, rather than specifying a font name, significantly speeds the creation of many redactions.internalColor - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.fillRedacted - When true, the area being redacted will be filled with the internalColor in the redacted appearance(and in the final document, after redactions are applied). If omitted, this parameter will default to true.drawBorder - When true, the "normal" appearance of the redacted areas will have a border of 1 point, in the borderColor. When it is false, no border will be drawn. If omitted, this parameter will default to true.borderColor - The color to draw the border around the "normal" appearance of each area. If omitted, and fillColor is not omitted, no border will be drawn. If both fillColor and BorderColor is omitted, border will be drawn in internalColor. If internalColor is also omitted, border will be drawn in black.fillNormal - When true, the areas being redacted will be drawn, in the "normal" appearance, with an overlaying fill of the fillColor at the fillOpacity. When false, there will be no overlay fill. This paramter is considered false if omitted.fillColor - The color applied as an overlay to the "normal" (Non redacted) area within the redaction areas. If this color is omitted, a "white" fill will be presumed.fillOpacity - A value from 0 to 1.0 which is the opacity of the fill color(If this value is one, then the content of the redacted area will not be visible in the "normal" mode. If it is zero, then there will be no visible color overlaying the content to be redacted). If omitted, this will default to 1.0.overlayText - The value of the string to be displayed over the redacted area. It will be scaled and/or repeated according to the value of later parameters. If omitted, it will be an empty string, and there will be no overlay text drawn.textColor - The color to use in drawing the OverlayText. If this is omitted, white will be presumed.textSize - The size, in points, to draw the text too. This may be overridden the scaleTofit value below. If omitted, it will default to 12.0.repeat - When true, the overlay text will be repeated to fill the redacted area, when false, the overlay text will be displayed only once. When omitted, it is presumed to be false.scaleToFit - When true, the text size will be decreased to just fill the redacted area. When false, the text size will be constant, as described in textSize. When omitted, this is presumed to be false.public void delete()
delete in class Annotationpublic Color getInternalColor()
public void setInternalColor(Color col)
col - The color of the redaction mark. This color is also used as the fill color when generating the replacement form for this redaction mark. The replacement form is the content that will be placed on the page when this mark is applied and the underlying content is removed.public Color getBorderColor()
public void setBorderColor(Color col)
col - The color of the border when the annotation is displayed in the page prior to application of redactions.public Color getTextColor()
public void setTextColor(Color col)
col - The color of the text when the annotation is displayed as redacted, or when the redactions are applied.public void setFillColor(Color col, double opacity)
col - The color which will fill the annotation when it is viewed in the "normal" or pre-redacted appearance.opacity - The amount of opacity to apply to the fill color. If this value is zero, not color will be seen. If it is 1.0, then the underlying content of the unredacted document will not be visible.public Color getFillColor()
public double getFillOpacity()
public double getAnnotationFeatureLevel()
getAnnotationFeatureLevel in class Annotationpublic void setAnnotationFeatureLevel(double featureLevel)
setAnnotationFeatureLevel in class AnnotationfeatureLevel - Target PDF version numberpublic int getPageNo()
public void setPageNo(int pgNo)
pgNo - Base zero page numberpublic java.util.List<Quad> getQuads()
public void setQuads(java.util.List<Quad> theQuads)
theQuads - std::vector of Quadspublic java.lang.String getOverlayText()
public void setOverlayText(java.lang.String otext)
otext - std::wstring of text to be written over redaction.public HorizontalAlignment getAlign()
public void setAlign(HorizontalAlignment halign)
halign - desired Horiziontal alignmentpublic void setFontSize(double fontsize)
fontsize - Size to draw overlay type at. if set to zero, 10.0 point type will be drawn.public double getFontSize()
public void setFontFace(java.lang.String fontName)
fontName - std::wstring name of font to use for type. if omitted, "Helvetica" will be used.public java.lang.String getFontFace()
public void setNote(java.lang.String notetext)
notetext - Contents to use on the popup comments box.public java.lang.String getNote()
public void setRepeat(boolean Value)
Value - True will repeat fill string, false will display string only once.public boolean getRepeat()
public void setScaleToFit(boolean Value)
Value - True will scale text down to fit into area, false will not.public boolean getScaleToFit()
public boolean getDrawBorder()
public void setDrawBorder(boolean Option)
Option - boolean value to set Draw Border Option If true, border will be drawn in Normal appearance in specified color, If false, no border will be drawn in Normal Appearance.public boolean getFillNormal()
public void setFillNormal(boolean Option)
Option - boolean value to set Draw Border Option If true, the Normal Appearance will show as filled with the fill color and opacity, If false, Normal Appearance areas will not be filled.public boolean getFillRedacted()
public void setFillRedacted(boolean Option)
Option - boolean value to set Draw Border Option If true, the Redacted Appearance will show as filled with the specfied, If false, Redacted Appearance areas will not be filled (They will be left white).public Font getOverlayFont()
public void setOverlayFont(Font font)
font - When the specified font is not null, it will be used to display the overlay text. When this value is not null, the Overlay Font Name will be ignored.