ピンチ操作

パブリック クラス PitchGesture

ユーザーがタッチ スクリーンで 2 本指によるピンチ操作を行った場合のジェスチャー。

ネストされたクラス

インターフェース PitchGesture.OnGestureEventListener PinchGesture によって呼び出されるコールバックのインターフェース定義。 

継承されるフィールド

パブリック コンストラクタ

PitchGesture(GesturePointersUtility gesturePointersUtility, MotionEvent motionEvent, int ポインタ Id2)

パブリック メソッド

void
cancel()
進行中のジェスチャーをキャンセルします。
浮動小数点数
浮動小数点数
浮動小数点数
浮動小数点数

保護されたメソッド

ブール値
canStartHitTestResultヒットテスト結果、MotionEvent motionEvent)
PinkGesture
void
void
void
onStartHitTestResultヒットテスト結果、MotionEvent motionEvent)
ブール値
updateGesture(HitTestResult hitsTestResult, MotionEvent motionEvent)

継承されるメソッド

パブリック コンストラクタ

public PinkGesture (GesturePointersUtility gesturePointersUtility、MotionEvent motionEvent、int ポインタ Id2)

パラメータ
gesturePointersUtility
モーション イベント
ポインタ ID2

パブリック メソッド

public void cancel ()

進行中のジェスチャーをキャンセルします。

public float gapDeltaInches ()

public float gapInches ()

public float getGap ()

public float getGapDelta ()

保護されたメソッド

Protected boolean canStart (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント

secure PinkGesture getSelf ()

Protect void onCancel ()

Protect void onFinish ()

Protected void onStart (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント

Protected boolean updateGesture (HitTestResult hitsTestResult, MotionEvent motionEvent)

パラメータ
ヒットテストの結果
モーション イベント