Class CustomPageDrawer

java.lang.Object
org.apache.pdfbox.examples.rendering.CustomPageDrawer

public class CustomPageDrawer extends Object
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.

  • Constructor Details

    • CustomPageDrawer

      public CustomPageDrawer()
  • Method Details