Package org.apache.pdfbox.rendering
Class PageDrawerParameters
java.lang.Object
org.apache.pdfbox.rendering.PageDrawerParameters
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
Modifier and TypeMethodDescriptionfloat
getPage()
Returns the page.boolean
Returns whether to allow subsampling of images.
-
Method Details
-
getPage
Returns the page. -
isSubsamplingAllowed
public boolean isSubsamplingAllowed()Returns whether to allow subsampling of images. -
getDestination
- Returns:
- the destination
-
getRenderingHints
- Returns:
- the rendering hints.
-
getImageDownscalingOptimizationThreshold
public float getImageDownscalingOptimizationThreshold()- Returns:
- the imageDownscalingOptimizationThreshold
-