RenderParams


public final class RenderParams
extends Object

java.lang.Object
   ↳ android.graphics.pdf.RenderParams


Represents a set of parameters that will be used to render a page of the PDF document.

Summary

Nested classes

class RenderParams.Builder

Builder for constructing RenderParams

Constants

int FLAG_RENDER_HIGHLIGHT_ANNOTATIONS

Flag to enable rendering of highlight annotation on the page.

int FLAG_RENDER_TEXT_ANNOTATIONS

Flag to enable rendering of text annotation on the page.

int RENDER_MODE_FOR_DISPLAY

Mode to render the content for display on a screen.

int RENDER_MODE_FOR_PRINT

Mode to render the content for printing.

Public methods

int getRenderFlags()

Returns the bitmask of the render flags.

int getRenderMode()

Returns the render mode.

Inherited methods

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

FLAG_RENDER_HIGHLIGHT_ANNOTATIONS

Added in API level 35
Also in S Extensions 13
public static final int FLAG_RENDER_HIGHLIGHT_ANNOTATIONS

Flag to enable rendering of highlight annotation on the page.

Constant Value: 4 (0x00000004)

FLAG_RENDER_TEXT_ANNOTATIONS

Added in API level 35
Also in S Extensions 13
public static final int FLAG_RENDER_TEXT_ANNOTATIONS

Flag to enable rendering of text annotation on the page.

Constant Value: 2 (0x00000002)

RENDER_MODE_FOR_DISPLAY

Added in API level 35
Also in S Extensions 13
public static final int RENDER_MODE_FOR_DISPLAY

Mode to render the content for display on a screen.

Constant Value: 1 (0x00000001)

RENDER_MODE_FOR_PRINT

Added in API level 35
Also in S Extensions 13
public static final int RENDER_MODE_FOR_PRINT

Mode to render the content for printing.

Constant Value: 2 (0x00000002)

Public methods

getRenderFlags

Added in API level 35
Also in S Extensions 13
public int getRenderFlags ()

Returns the bitmask of the render flags.

Returns
int Value is either 0 or a combination of FLAG_RENDER_TEXT_ANNOTATIONS, FLAG_RENDER_HIGHLIGHT_ANNOTATIONS, android.graphics.pdf.RenderParams.FLAG_RENDER_STAMP_ANNOTATIONS, and android.graphics.pdf.RenderParams.FLAG_RENDER_FREETEXT_ANNOTATIONS

getRenderMode

Added in API level 35
Also in S Extensions 13
public int getRenderMode ()

Returns the render mode.