renderPageToBitmap

abstract fun renderPageToBitmap(@IntRange(from = 0) pageIndex: Int, @NonNull buffer: Bitmap, @NonNull configuration: PageRenderConfiguration): Completable

Renders the given page into a Bitmap buffer.

Scheduler:
renderPageToBitmap(int, Bitmap, PageRenderConfiguration) does not operate by default on a particular Scheduler.

Return

Completable that finishes once the rendering is done.

Parameters

pageIndex

Page index to render.

buffer

Bitmap buffer where the given page will be rendered.

configuration

Configuration rendering options.