Class DebugTextOverlay


  • final class DebugTextOverlay
    extends java.lang.Object
    Draws an overlay showing the locations of text found by PDFTextStripper and another heuristic.
    • Field Detail

      • LOG

        private static final org.apache.commons.logging.Log LOG
      • 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)
    • Method Detail

      • renderTo

        public void renderTo​(java.awt.Graphics2D graphics)
                      throws java.io.IOException
        Throws:
        java.io.IOException