Package com.tom_roush.pdfbox.rendering
Class PageDrawerParameters
- java.lang.Object
-
- com.tom_roush.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderDestinationgetDestination()floatgetImageDownscalingOptimizationThreshold()PDPagegetPage()Returns the page.booleanisSubsamplingAllowed()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
-
getImageDownscalingOptimizationThreshold
public float getImageDownscalingOptimizationThreshold()
- Returns:
- the imageDownscalingOptimizationThreshold
-
-