Class CustomPageDrawer
- java.lang.Object
-
- org.apache.pdfbox.examples.rendering.CustomPageDrawer
-
public class CustomPageDrawer extends java.lang.ObjectExample showing custom rendering by subclassing PageDrawer.If you want to do custom graphics processing rather than Graphics2D rendering, then you should subclass
PDFGraphicsStreamEngineinstead. Subclassing PageDrawer is only suitable for cases where the goal is to render onto a Graphics2D surface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classCustomPageDrawer.MyPageDrawerExample PageDrawer subclass with custom rendering.private static classCustomPageDrawer.MyPDFRendererExample PDFRenderer subclass, uses MyPageDrawer for custom rendering.
-
Constructor Summary
Constructors Constructor Description CustomPageDrawer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)
-