Class PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState
java.lang.Object
de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DFontTextDrawer.DrawTextDecorationState
- Enclosing class:
PdfBoxGraphics2DFontTextDrawer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.pdfbox.pdmodel.PDPageContentStreamprivate org.apache.pdfbox.util.Matrix(package private) final List<PdfBoxGraphics2DFontTextDrawer.ITextDecorationDrawer> private doubleprivate doubleprivate AffineTransform -
Constructor Summary
ConstructorsConstructorDescriptionDrawTextDecorationState(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTextWidth(float stringWidth) voidsetAttributeMatrix(AffineTransform fontMatrix) private void
-
Field Details
-
drawers
-
currentMatrix
private org.apache.pdfbox.util.Matrix currentMatrix -
textMatrix
-
fontOffsetY
private double fontOffsetY -
scale
private double scale -
contentStream
private final org.apache.pdfbox.pdmodel.PDPageContentStream contentStream
-
-
Constructor Details
-
DrawTextDecorationState
public DrawTextDecorationState(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream) throws IOException - Throws:
IOException
-
-
Method Details
-
setAttributeMatrix
- Throws:
IOException
-
setCurrentTextMatrix
- Throws:
IOException
-
applyTextWidth
public void applyTextWidth(float stringWidth)
-