RenderParams
class RenderParams
kotlin.Any | |
↳ | android.graphics.pdf.RenderParams |
Represents a set of parameters that will be used to render a page of the PDF document.
Summary
Nested classes | |
---|---|
Builder for constructing |
Constants | |
---|---|
static Int |
Flag to enable rendering of highlight annotation on the page. |
static Int |
Flag to enable rendering of text annotation on the page. |
static Int |
Mode to render the content for display on a screen. |
static Int |
Mode to render the content for printing. |
Public methods | |
---|---|
Int |
Returns the bitmask of the render flags. |
Int |
Returns the render mode. |
Constants
FLAG_RENDER_HIGHLIGHT_ANNOTATIONS
static val FLAG_RENDER_HIGHLIGHT_ANNOTATIONS: Int
Flag to enable rendering of highlight annotation on the page.
Value: 4
FLAG_RENDER_TEXT_ANNOTATIONS
static val FLAG_RENDER_TEXT_ANNOTATIONS: Int
Flag to enable rendering of text annotation on the page.
Value: 2
RENDER_MODE_FOR_DISPLAY
static val RENDER_MODE_FOR_DISPLAY: Int
Mode to render the content for display on a screen.
Value: 1
RENDER_MODE_FOR_PRINT
static val RENDER_MODE_FOR_PRINT: Int
Mode to render the content for printing.
Value: 2
Public methods
getRenderFlags
fun getRenderFlags(): Int
Returns the bitmask of the render flags.
Return | |
---|---|
Int |
Value is either 0 or a combination of android.graphics.pdf.RenderParams#FLAG_RENDER_TEXT_ANNOTATIONS , and android.graphics.pdf.RenderParams#FLAG_RENDER_HIGHLIGHT_ANNOTATIONS |
getRenderMode
fun getRenderMode(): Int
Returns the render mode.
Return | |
---|---|
Int |
Value is android.graphics.pdf.RenderParams#RENDER_MODE_FOR_DISPLAY , or android.graphics.pdf.RenderParams#RENDER_MODE_FOR_PRINT |