onDrawPage

abstract fun onDrawPage(canvas: Canvas?, pageWidth: Float, pageHeight: Float, displayedPage: Int)

This method is called when the PDFView is drawing its view.

The page is starting at (0,0).

Parameters

canvas

The canvas on which to draw things.

pageWidth

The width of the current page.

pageHeight

The height of the current page.

displayedPage

The current page index.