Gestures Settings
data class GesturesSettings @JvmOverloads constructor(rotateEnabled: Boolean, pinchToZoomEnabled: Boolean, scrollEnabled: Boolean, simultaneousRotateAndPinchToZoomEnabled: Boolean, pitchEnabled: Boolean, scrollMode: ScrollMode, doubleTapToZoomInEnabled: Boolean, doubleTouchToZoomOutEnabled: Boolean, quickZoomEnabled: Boolean, focalPoint: ScreenCoordinate?, pinchToZoomDecelerationEnabled: Boolean, rotateDecelerationEnabled: Boolean, scrollDecelerationEnabled: Boolean, increaseRotateThresholdWhenPinchingToZoom: Boolean, increasePinchToZoomThresholdWhenRotating: Boolean, zoomAnimationAmount: Float, pinchScrollEnabled: Boolean)
Content copied to clipboard
Gesture configuration allows to control the user touch interaction.
Constructors
GesturesSettings
Link copied to clipboard
fun GesturesSettings(rotateEnabled: Boolean = true, pinchToZoomEnabled: Boolean = true, scrollEnabled: Boolean = true, simultaneousRotateAndPinchToZoomEnabled: Boolean = true, pitchEnabled: Boolean = true, scrollMode: ScrollMode = ScrollMode.HORIZONTAL_AND_VERTICAL, doubleTapToZoomInEnabled: Boolean = true, doubleTouchToZoomOutEnabled: Boolean = true, quickZoomEnabled: Boolean = true, focalPoint: ScreenCoordinate? = null, pinchToZoomDecelerationEnabled: Boolean = true, rotateDecelerationEnabled: Boolean = true, scrollDecelerationEnabled: Boolean = true, increaseRotateThresholdWhenPinchingToZoom: Boolean = true, increasePinchToZoomThresholdWhenRotating: Boolean = true, zoomAnimationAmount: Float = 1f, pinchScrollEnabled: Boolean = true)
Content copied to clipboard
Properties
doubleTapToZoomInEnabled
Link copied to clipboard
doubleTouchToZoomOutEnabled
Link copied to clipboard
focalPoint
Link copied to clipboard
increasePinchToZoomThresholdWhenRotating
Link copied to clipboard
increaseRotateThresholdWhenPinchingToZoom
Link copied to clipboard
pinchScrollEnabled
Link copied to clipboard
pinchToZoomDecelerationEnabled
Link copied to clipboard
pinchToZoomEnabled
Link copied to clipboard
pitchEnabled
Link copied to clipboard
quickZoomEnabled
Link copied to clipboard
rotateDecelerationEnabled
Link copied to clipboard
rotateEnabled
Link copied to clipboard
scrollDecelerationEnabled
Link copied to clipboard
scrollEnabled
Link copied to clipboard
scrollMode
Link copied to clipboard
simultaneousRotateAndPinchToZoomEnabled
Link copied to clipboard
zoomAnimationAmount
Link copied to clipboard
Extensions
is Scroll Horizontally Limited
Link copied to clipboard
Returns if the scroll is horizontally limited, In other words, the scroll mode is set to vertical.
is Scroll Vertically Limited
Link copied to clipboard
Returns if the scroll is vertically limited, In other words, the scroll mode is set to horizontal.