public class

PageRenderConfiguration

extends Object
java.lang.Object
   ↳ com.pspdfkit.configuration.rendering.PageRenderConfiguration

Class Overview

Advanced configuration for page rendering.

Summary

Nested Classes
class PageRenderConfiguration.Builder Builder to create a PageRenderConfiguration instance  
Fields
public final Integer formHighlightColor Form highlight color, used for highlighting editable form elements.
public final Integer formItemHighlightColor Color of selected items in list boxes and similar.
public final Integer formRequiredFieldBorderColor Color of the border around required form fields.
public final boolean invertColors Invert paper colors if true.
public final int paperColor Background "paper" color of the document.
public final boolean redactionAnnotationPreviewEnabled Redaction annotation preview mode, false by default.
public final int regionFullPageHeight Full height of a page when rendering a region in pixels (view coordinates).
public final int regionFullPageWidth Full width of a page when rendering a region in pixels (view coordinates).
public final int regionX X position of left-top point for rendered region in pixels (view coordinates).
public final int regionY Y position of left-top point for rendered region in pixels (view coordinates).
public final boolean renderRegion Determines if rendering only a region of page
public final List<PdfDrawable> renderedDrawables PdfDrawables to be rendered on a page.
public final Bitmap reuseBitmap Bitmap to reuse as a rendering target
public final boolean toGrayscale Turn paper colors to black and white.
public final boolean useCache Use PSPDFKit memory cache
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final Integer formHighlightColor

Form highlight color, used for highlighting editable form elements. null when default form highlight color should be used.

public final Integer formItemHighlightColor

Color of selected items in list boxes and similar. null when default form highlight color should be used.

public final Integer formRequiredFieldBorderColor

Color of the border around required form fields. null or TRANSPARENT if no border should be shown.

public final boolean invertColors

Invert paper colors if true.

public final int paperColor

Background "paper" color of the document.

public final boolean redactionAnnotationPreviewEnabled

Redaction annotation preview mode, false by default.

public final int regionFullPageHeight

Full height of a page when rendering a region in pixels (view coordinates).

public final int regionFullPageWidth

Full width of a page when rendering a region in pixels (view coordinates).

public final int regionX

X position of left-top point for rendered region in pixels (view coordinates).

public final int regionY

Y position of left-top point for rendered region in pixels (view coordinates).

public final boolean renderRegion

Determines if rendering only a region of page

public final List<PdfDrawable> renderedDrawables

PdfDrawables to be rendered on a page.

public final Bitmap reuseBitmap

Bitmap to reuse as a rendering target

public final boolean toGrayscale

Turn paper colors to black and white.

public final boolean useCache

Use PSPDFKit memory cache