Class 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.
    • Method Detail

      • 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
      • getImageDownscalingOptimizationThreshold

        public float getImageDownscalingOptimizationThreshold()
        Returns:
        the imageDownscalingOptimizationThreshold