Methods
acceleration
- acceleration(): number
- acceleration(acceleration: number): this
-
Returns number
-
Parameters
Returns this
Abstract attach
- attach(surface: View): void
Protected coast
- coast(track: MultitouchTrack): void
Abstract detach
- detach(surface: View): void
distanceMin
- distanceMin(): number
- distanceMin(distanceMin: number): this
-
Returns number
-
Parameters
Returns this
Protected Abstract endTracking
- endTracking(surface: View): void
hysteresis
- hysteresis(): number
- hysteresis(hysteresis: number): this
-
Returns number
-
Parameters
Returns this
Protected interpolate
- interpolate(t: number): void
Protected multitouchChange
Protected multitouchStart
Protected onGhostFrame
- onGhostFrame(t: number): void
Protected spreadVelocity
- spreadVelocity(track: MultitouchTrack): void
Protected Abstract startTracking
- startTracking(surface: View): void
surface
- surface(): View | null
- surface(surface: View | null): this
-
Returns View
|
null
-
Parameters
Returns this
Protected trackCancel
- trackCancel(identifier: string, clientX: number, clientY: number, event: Event): void
-
Parameters
-
identifier: string
-
clientX: number
-
clientY: number
-
event: Event
Returns void
Protected trackDidCancel
- trackDidCancel(track: MultitouchTrack, surface: View, event: Event): void
-
Parameters
-
track: MultitouchTrack
-
surface: View
-
event: Event
Returns void
Protected trackDidEnd
- trackDidEnd(track: MultitouchTrack, surface: View, event: Event): void
-
Parameters
-
track: MultitouchTrack
-
surface: View
-
event: Event
Returns void
Protected trackDidMove
- trackDidMove(track: MultitouchTrack, surface: View, event: Event): void
-
Parameters
-
track: MultitouchTrack
-
surface: View
-
event: Event
Returns void
Protected trackDidStart
- trackDidStart(track: MultitouchTrack, surface: View, event: Event): void
-
Parameters
-
track: MultitouchTrack
-
surface: View
-
event: Event
Returns void
Protected trackEnd
- trackEnd(identifier: string, clientX: number, clientY: number, event: Event): void
-
Parameters
-
identifier: string
-
clientX: number
-
clientY: number
-
event: Event
Returns void
Protected trackMove
- trackMove(identifier: string, clientX: number, clientY: number, event: Event): void
-
Parameters
-
identifier: string
-
clientX: number
-
clientY: number
-
event: Event
Returns void
Protected trackStart
- trackStart(identifier: string, clientX: number, clientY: number, event: Event): void
-
Parameters
-
identifier: string
-
clientX: number
-
clientY: number
-
event: Event
Returns void
Protected translate
- translate(dx: number, dy: number): void
velocityMax
- velocityMax(): number
- velocityMax(velocityMax: number): this
-
Returns number
-
Parameters
Returns this
wheel
- wheel(): boolean
- wheel(wheel: boolean): this
-
Returns boolean
-
Parameters
Returns this
zoom
- zoom(cx: number, cy: number, dz: number): void
-
Parameters
-
cx: number
-
cy: number
-
dz: number
Returns void