TwistGesture

公開類別 TwistGesture

這個手勢會在使用者於觸控螢幕上執行雙指扭曲時做出動作。

巢狀類別

TwistGesture.OnGestureEventListener TwistGesture 叫用的回呼介面定義。 

沿用欄位

公用建構函式

TwistGesture(GesturePointersUtilityGesturePointersUtility、MotionEventMotionEvent、int PointerId2)

公用方法

浮點值

保護方法

布林
canStart (HitTestResult HitTestResult、MotionEventMotionEvent)
TwistGesture
void
void
void
onStart (HitTestResult HitTestResult、MotionEventMotionEvent)
布林
updateGesture (HitTestResult HitTestResult、MotionEventMotionEvent)

沿用的方法

公用建構函式

public TwistGesture (GesturePointersUtilityGesturePointersUtility,MotionEventMotionEvent、int PointerId2)

參數
GesturePointersUtility
動作事件
PointerId2

公用方法

public float getDeltaRotationDegrees ()

保護方法

受保護的布林值 canStart (HitTestResult HitTestResult、MotionEventMotionEvent)

參數
HitTestResult
動作事件

受保護的 TwistGesture getSelf ()

受保護的作廢 onCancel ()

受保護 void onFinish ()

受保護的 void onStart (HitTestResult HitTestResult、MotionEventMotionEvent)

參數
HitTestResult
動作事件

受保護的布林值 updateGesture (HitTestResult HitTestResult、MotionEventMotionEvent)

參數
HitTestResult
動作事件