RawGesture

class RawGesture(val onTap: (Offset) -> Unit = {}, val onDoubleTap: (Offset) -> Unit = {}, val onLongPress: (Offset) -> Unit = {}, val gestureStart: () -> Unit = {}, val gestureEnd: (transformOnly: Boolean) -> Unit = {}, val onGesture: (centroid: Offset, pan: Offset, zoom: Float, rotation: Float, event: PointerEvent) -> Boolean = { _, _, _, _, _ -> true })

Deprecated

com.origeek.imageViewer下的全部类和方法均已弃用! 请使用新版本:com.jvziyaoyao.viewer。

Constructors

Link copied to clipboard
constructor(onTap: (Offset) -> Unit = {}, onDoubleTap: (Offset) -> Unit = {}, onLongPress: (Offset) -> Unit = {}, gestureStart: () -> Unit = {}, gestureEnd: (transformOnly: Boolean) -> Unit = {}, onGesture: (centroid: Offset, pan: Offset, zoom: Float, rotation: Float, event: PointerEvent) -> Boolean = { _, _, _, _, _ -> true })

Properties

Link copied to clipboard
val gestureEnd: (transformOnly: Boolean) -> Unit
Link copied to clipboard
val gestureStart: () -> Unit
Link copied to clipboard
Link copied to clipboard
val onGesture: (centroid: Offset, pan: Offset, zoom: Float, rotation: Float, event: PointerEvent) -> Boolean
Link copied to clipboard
Link copied to clipboard
val onTap: (Offset) -> Unit