Cử chỉ kéo

lớp công khai DragGesture

Cử chỉ khi người dùng thực hiện chuyển động kéo trên màn hình cảm ứng.

Các lớp học lồng ghép

giao diện DragGesture.OnGestureEventListener Định nghĩa giao diện cho các lệnh gọi lại được DragGesture gọi. 

Các trường kế thừa

Xây dựng công cộng

DragGesture(GesturePointersUtilityGesturePointersUtility, HitTestResulthitTestResult, MotionEvent MotionEvent)

Phương thức công khai

Vector3
Vector3

Phương pháp bảo vệ

boolean
canStart (HitTestResult HitTestResult, MotionEvent MotionEvent)
DragGesture (DragGesture)
void
void
void
onStart(HitTestResult HitTestResult, MotionEvent MotionEvent)
boolean
updateGesture(HitTestResult HitTestResult, MotionEvent MotionEvent)

Các phương thức kế thừa

Xây dựng công cộng

công khai DragGesture (GesturePointersUtilityGesturePointersUtility, HitTestResult HitTestResult, MotionEvent MotionEvent)

Các tham số
cử chỉ dùng để di chuyển
kết quả kiểm thử
Sự kiện chuyển động

Phương thức công khai

công khai Vector3 getDelta ()

công khai Vector3 getPosition ()

Phương pháp bảo vệ

boolean được bảo vệ canStart (HitTestResult HitTestResult, MotionEvent MotionEvent)

Các tham số
kết quả kiểm thử
Sự kiện chuyển động

được bảo vệ DragGesture getSelf ()

bảo vệ khoảng trống onCancel ()

bảo vệ khoảng trống onFinish ()

bảo vệ khoảng trống onStart (HitTestResult HitTestResult, MotionEvent MotionEvent)

Các tham số
kết quả kiểm thử
Sự kiện chuyển động

Boolean được bảo vệ updateGesture (HitTestResulthitTestResult, MotionEvent MotionEvent)

Các tham số
kết quả kiểm thử
Sự kiện chuyển động