Skip to content
GestureDelegate

输入 / GestureDelegate

GestureDelegate Class

手势代理类

Table of contents

Properties

oneFingerMoveGestureDelegate: MulticastDelegate<(location: Vector2) => void>
单指滑动代理
pinchGestureDelegate: MulticastDelegate<(Distance: number) => void>
挤压手势代理
tapGestureDelegate: MulticastDelegate<(SelectType: SelectTapType, location: Vector2) => void>
点击事件代理
touchBeganGestureDelegate: MulticastDelegate<(FingerIndex: number, Position: Vector2) => void>
手指按下代理
touchEndGestureDelegate: MulticastDelegate<(FingerIndex: number) => void>
手指抬起代理
touchMoveGestureDelegate: MulticastDelegate<(FingerIndex: number, Position: Vector2) => void>
手指滑动代理
twoFingerMoveGestureDelegate: MulticastDelegate<(location: Vector2) => void>
双指滑动代理

Properties

oneFingerMoveGestureDelegate

Static oneFingerMoveGestureDelegate: MulticastDelegate<(location: Vector2) => void>

单指滑动代理


pinchGestureDelegate

Static pinchGestureDelegate: MulticastDelegate<(Distance: number) => void>

挤压手势代理


tapGestureDelegate

Static tapGestureDelegate: MulticastDelegate<(SelectType: SelectTapType, location: Vector2) => void>

点击事件代理


touchBeganGestureDelegate

Static touchBeganGestureDelegate: MulticastDelegate<(FingerIndex: number, Position: Vector2) => void>

手指按下代理


touchEndGestureDelegate

Static touchEndGestureDelegate: MulticastDelegate<(FingerIndex: number) => void>

手指抬起代理


touchMoveGestureDelegate

Static touchMoveGestureDelegate: MulticastDelegate<(FingerIndex: number, Position: Vector2) => void>

手指滑动代理


twoFingerMoveGestureDelegate

Static twoFingerMoveGestureDelegate: MulticastDelegate<(location: Vector2) => void>

双指滑动代理