zoomBy

open fun zoomBy(focusX: Int, focusY: Int, @IntRange(from = 0) pageIndex: Int, scaleFactor: Float, duration: Long)

Zoom by the given scale focused on the given point in PDF coordinates.`

Parameters

focusX

x-coordinate of the focus point.

focusY

y-coordinate of the focus point.

pageIndex

Page number.

scaleFactor

Scale factor for zooming.

duration

Duration of the zoom animation (milliseconds).