Class DebugTextOverlay
- java.lang.Object
-
- org.apache.pdfbox.debugger.pagepane.DebugTextOverlay
-
final class DebugTextOverlay extends java.lang.ObjectDraws an overlay showing the locations of text found by PDFTextStripper and another heuristic.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classDebugTextOverlay.DebugTextStripper
-
Field Summary
Fields Modifier and Type Field Description private PDDocumentdocumentprivate static org.apache.commons.logging.LogLOGprivate intpageIndexprivate floatscaleprivate booleanshowFontBBoxprivate booleanshowGlyphBoundsprivate booleanshowTextStripperprivate booleanshowTextStripperBeads
-
Constructor Summary
Constructors Constructor Description DebugTextOverlay(PDDocument document, int pageIndex, float scale, boolean showTextStripper, boolean showTextStripperBeads, boolean showFontBBox, boolean showGlyphBounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrenderTo(java.awt.Graphics2D graphics)
-
-
-
Field Detail
-
LOG
private static final org.apache.commons.logging.Log LOG
-
document
private final PDDocument document
-
pageIndex
private final int pageIndex
-
scale
private final float scale
-
showTextStripper
private final boolean showTextStripper
-
showTextStripperBeads
private final boolean showTextStripperBeads
-
showFontBBox
private final boolean showFontBBox
-
showGlyphBounds
private final boolean showGlyphBounds
-
-
Constructor Detail
-
DebugTextOverlay
DebugTextOverlay(PDDocument document, int pageIndex, float scale, boolean showTextStripper, boolean showTextStripperBeads, boolean showFontBBox, boolean showGlyphBounds)
-
-