Class PageDrawerParameters

java.lang.Object
org.apache.pdfbox.rendering.PageDrawerParameters

public final class PageDrawerParameters extends Object
Parameters for a PageDrawer. This class ensures allows PDFRenderer and PageDrawer to share private implementation data in a future-proof manner, while still allowing end-users to create their own subclasses of PageDrawer.
Author:
John Hewson
  • Method Details

    • getPage

      public PDPage getPage()
      Returns the page.
    • isSubsamplingAllowed

      public boolean isSubsamplingAllowed()
      Returns whether to allow subsampling of images.
    • getDestination

      public RenderDestination getDestination()
      Returns:
      the destination
    • getRenderingHints

      public RenderingHints getRenderingHints()
      Returns:
      the rendering hints.
    • getImageDownscalingOptimizationThreshold

      public float getImageDownscalingOptimizationThreshold()
      Returns:
      the imageDownscalingOptimizationThreshold