TransformRectZoomOptions

data class TransformRectZoomOptions(val animationOptions: TransformAnimationOptions? = null, val maxScaleFactor: Double? = null)

Options related to IReaderViewTransformManager.zoomToClientRect().

Constructors

Link copied to clipboard
fun TransformRectZoomOptions(animationOptions: TransformAnimationOptions? = null, maxScaleFactor: Double? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

Specifies how the transform should be animated. See IReaderViewTransformManagerOptions.defaultAnimationMode for the default behaviour.

Link copied to clipboard
val maxScaleFactor: Double? = null

The maximum zoom level to use for the transform. If not specified, the maxScaleFactor defined in IReaderViewOptions.transformManagerOptions.maxScaleFactor will be used.