public static interface

NewPage.OnDrawCanvasCallback

com.pspdfkit.document.processor.NewPage.OnDrawCanvasCallback

Class Overview

Callback passed to fromCanvas(Size, OnDrawCanvasCallback) to perform the drawing on the document canvas.

Summary

Public Methods
abstract void onDrawCanvas(Canvas canvas)
Called by the implementation to hand back the canvas that holds the drawing calls of the document.

Public Methods

public abstract void onDrawCanvas (Canvas canvas)

Called by the implementation to hand back the canvas that holds the drawing calls of the document.

Note: There are some draw operations that are not yet supported by the canvas returned by this method. More specifically:

Parameters
canvas Canvas that holds the drawing calls of the document.