Package org.apache.pdfbox.rendering
Class PageDrawerParameters
- java.lang.Object
-
- org.apache.pdfbox.rendering.PageDrawerParameters
-
public final class PageDrawerParameters extends java.lang.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderDestination
getDestination()
float
getImageDownscalingOptimizationThreshold()
PDPage
getPage()
Returns the page.java.awt.RenderingHints
getRenderingHints()
boolean
isSubsamplingAllowed()
Returns whether to allow subsampling of images.
-
-
-
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
-
getRenderingHints
public java.awt.RenderingHints getRenderingHints()
- Returns:
- the rendering hints.
-
getImageDownscalingOptimizationThreshold
public float getImageDownscalingOptimizationThreshold()
- Returns:
- the imageDownscalingOptimizationThreshold
-
-