Class PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState

  • Enclosing class:
    PdfBoxGraphics2DFontTextDrawer

    private static class PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState
    extends java.lang.Object
    • Field Detail

      • currentMatrix

        private org.apache.pdfbox.util.Matrix currentMatrix
      • textMatrix

        private java.awt.geom.AffineTransform textMatrix
      • fontOffsetY

        private double fontOffsetY
      • scale

        private double scale
      • contentStream

        private final org.apache.pdfbox.pdmodel.PDPageContentStream contentStream
    • Constructor Detail

      • DrawTextDecorationState

        public DrawTextDecorationState​(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream)
                                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • setAttributeMatrix

        public void setAttributeMatrix​(java.awt.geom.AffineTransform fontMatrix)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • setCurrentTextMatrix

        private void setCurrentTextMatrix​(java.awt.geom.AffineTransform newAT)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • applyTextWidth

        public void applyTextWidth​(float stringWidth)