Package be.quodlibet.boxable.utils
Class PageContentStreamOptimized
java.lang.Object
be.quodlibet.boxable.utils.PageContentStreamOptimized
-
Constructor Summary
ConstructorsConstructorDescriptionPageContentStreamOptimized(org.apache.pdfbox.pdmodel.PDPageContentStream pageContentStream) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRect(float x, float y, float width, float height) voidvoidclose()voiddrawImage(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject image, float x, float y, float width, float height) voidendText()voidfill()voidlineTo(float x, float y) voidmoveTo(float x, float y) voidnewLineAt(float tx, float ty) voidsetFont(org.apache.pdfbox.pdmodel.font.PDFont font, float fontSize) voidsetLineCapStyle(int lineCapStyle) voidsetLineDashPattern(float[] pattern, float phase) voidsetLineWidth(float lineWidth) voidsetNonStrokingColor(Color color) voidsetRotated(boolean rotated) voidsetStrokingColor(Color color) voidvoidstroke()
-
Constructor Details
-
PageContentStreamOptimized
public PageContentStreamOptimized(org.apache.pdfbox.pdmodel.PDPageContentStream pageContentStream)
-
-
Method Details
-
setRotated
- Throws:
IOException
-
beginText
- Throws:
IOException
-
endText
- Throws:
IOException
-
setFont
- Throws:
IOException
-
showText
- Throws:
IOException
-
newLineAt
- Throws:
IOException
-
drawImage
public void drawImage(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject image, float x, float y, float width, float height) throws IOException - Throws:
IOException
-
setStrokingColor
- Throws:
IOException
-
setNonStrokingColor
- Throws:
IOException
-
addRect
- Throws:
IOException
-
moveTo
- Throws:
IOException
-
lineTo
- Throws:
IOException
-
stroke
- Throws:
IOException
-
fill
- Throws:
IOException
-
setLineWidth
- Throws:
IOException
-
setLineCapStyle
- Throws:
IOException
-
setLineDashPattern
- Throws:
IOException
-
close
- Throws:
IOException
-