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 |
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 | |
---|---|
Constants
FLAG_RENDER_HIGHLIGHT_ANNOTATIONS
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
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
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
public static final int RENDER_MODE_FOR_PRINT
Mode to render the content for printing.
Constant Value: 2 (0x00000002)
Public methods
getRenderFlags
public int getRenderFlags ()
Returns the bitmask of the render flags.
Returns | |
---|---|
int |
Value is either 0 or a combination of FLAG_RENDER_TEXT_ANNOTATIONS , and FLAG_RENDER_HIGHLIGHT_ANNOTATIONS |
getRenderMode
public int getRenderMode ()
Returns the render mode.
Returns | |
---|---|
int |
Value is RENDER_MODE_FOR_DISPLAY , or RENDER_MODE_FOR_PRINT |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.