Class CustomPageDrawer
java.lang.Object
org.apache.pdfbox.examples.rendering.CustomPageDrawer
Example showing custom rendering by subclassing PageDrawer.
If you want to do custom graphics processing rather than Graphics2D rendering, then you should
subclass PDFGraphicsStreamEngine instead. Subclassing PageDrawer is only suitable for
cases where the goal is to render onto a Graphics2D surface.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classExample PageDrawer subclass with custom rendering.private static classExample PDFRenderer subclass, uses MyPageDrawer for custom rendering. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CustomPageDrawer
public CustomPageDrawer()
-
-
Method Details
-
main
- Throws:
IOException
-