virtual class vaseGui::MultiTouchState
sys::Obj vaseGui::GestureState vaseGui::MultiTouchState
@Js
- centerX
-
Float centerX := 0.0f
- centerY
-
Float centerY := 0.0f
- distance
-
Float distance := 0.0f
- dotProduct
-
static Float dotProduct(Int x1, Int y1, Int x2, Int y2)
get dotProduct of two vector
- getAngle
-
static Float getAngle(Int x1, Int y1, Int x2, Int y2)
get angle of two vector
- getDistance
-
static Float getDistance(Int x1, Int y1, Int x2, Int y2)
get distance of two Point
- make
-
new make(Gesture machine)
- onEnter
-
virtual override Void onEnter(MotionEvent e)
- onEvent
-
virtual override Void onEvent(MotionEvent e)
- x0
-
Int x0 := 0
- x1
-
Int x1 := 0
- y0
-
Int y0 := 0
- y1
-
Int y1 := 0