Reader View Pan Zoom Gesture Options
data class ReaderViewPanZoomGestureOptions(val allowSinglePointerPan: Boolean = true, val pinchZoomThresholdPx: Int = 32, val pointerTypes: PointerTypeOptions = PointerTypeOptions(), val removeTransformOnZoomOutGesture: Boolean = true)
Options used for configuring the panZoom gesture on a ReaderView. Part of IReaderViewOptions.gestureOptions
Constructors
Link copied to clipboard
constructor(allowSinglePointerPan: Boolean = true, pinchZoomThresholdPx: Int = 32, pointerTypes: PointerTypeOptions = PointerTypeOptions(), removeTransformOnZoomOutGesture: Boolean = true)
Properties
Link copied to clipboard
Allow panning with single pointer.
Link copied to clipboard
How much the distance between pointers has to change before applying zoom/scale.
Link copied to clipboard
Sets which pointer-types that should trigger pan-zoom gestures.
Link copied to clipboard
Allow pan-zoom gestures to exit the transform when zoomed out to a scale factor close to 1.