Package de.rototor.pdfbox.graphics2d
Class PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState
- java.lang.Object
-
- de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState
-
- Enclosing class:
- PdfBoxGraphics2DFontTextDrawer
private static class PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.pdfbox.pdmodel.PDPageContentStreamcontentStreamprivate org.apache.pdfbox.util.MatrixcurrentMatrix(package private) java.util.List<PdfBoxGraphics2DFontTextDrawer.ITextDecorationDrawer>drawersprivate doublefontOffsetYprivate doublescaleprivate java.awt.geom.AffineTransformtextMatrix
-
Constructor Summary
Constructors Constructor Description DrawTextDecorationState(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTextWidth(float stringWidth)voidsetAttributeMatrix(java.awt.geom.AffineTransform fontMatrix)private voidsetCurrentTextMatrix(java.awt.geom.AffineTransform newAT)
-
-
-
Field Detail
-
drawers
final java.util.List<PdfBoxGraphics2DFontTextDrawer.ITextDecorationDrawer> drawers
-
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
-
-
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)
-
-