public class TwistGesture
用户在触摸屏上执行双指扭转手势的手势。
嵌套类
接口 | TwistGesture.OnGestureEventListener | 将由 TwistGesture 调用的回调的接口定义。 |
继承的字段
公共构造函数
公共方法
浮点数 |
受保护的方法
布尔值 | |
TwistGesture |
getSelf()
|
无效 |
onCancel()
|
无效 |
onFinish()
|
无效 | |
布尔值 |
继承的方法
公共构造函数
public TwistGesture (GesturePointersUtility gesturePointersUtility, MotionEvent motionEvent, int pointId2)
参数
gesturePointersUtility | |
---|---|
motionEvent [动作事件] | |
指针 ID2 |
公共方法
public float getDeltaRotationDegrees ()
受保护的方法
Protect void onCancel ()
Protect void onFinish ()
Protect void onStart (HitTestResulthitTestResult, MotionEvent motionEvent)
参数
命中结果 | |
---|---|
motionEvent [动作事件] |
受保护的布尔值 updateGesture (HitTestResulthitTestResult, MotionEvent motionEvent)
参数
命中结果 | |
---|---|
motionEvent [动作事件] |