phina.js.d.ts
Preparing search index...
phina
input
Touch
Interface Touch
interface
Touch
{
cachePositions
:
phina
.
geom
.
Vector2
[]
;
deltaPosition
:
phina
.
geom
.
Vector2
;
dx
:
number
;
dy
:
number
;
flags
:
number
;
flickVelocity
:
phina
.
geom
.
Vector2
;
fx
:
number
;
fy
:
number
;
id
:
number
|
null
;
maxCacheNum
:
number
;
maxDistance
:
number
;
minDistance
:
number
;
position
:
phina
.
geom
.
Vector2
;
prevPosition
:
phina
.
geom
.
Vector2
;
startPosition
:
phina
.
geom
.
Vector2
;
x
:
number
;
y
:
number
;
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
clear
(
type
:
string
)
:
this
;
clearEventListener
(
type
:
string
)
:
this
;
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
;
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
;
fire
(
e
:
{
type
:
string
}
)
:
this
;
flare
(
type
:
string
,
param
?:
object
)
:
this
;
getPointing
()
:
boolean
;
getPointingEnd
()
:
boolean
;
getPointingStart
()
:
boolean
;
getTouch
()
:
boolean
;
getTouchEnd
()
:
boolean
;
getTouchStart
()
:
boolean
;
has
(
type
:
string
)
:
boolean
;
hasEventListener
(
type
:
string
)
:
boolean
;
off
(
type
:
string
,
listener
:
Function
)
:
this
;
on
(
type
:
string
,
listener
:
Function
)
:
this
;
one
(
type
:
string
,
listener
:
Function
)
:
this
;
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
;
update
()
:
void
;
}
Hierarchy (
View Summary
)
phina
.
input
.
Input
Touch
Index
Properties
cache
Positions
delta
Position
dx
dy
flags
flick
Velocity
fx
fy
id
max
Cache
Num
max
Distance
min
Distance
position
prev
Position
start
Position
x
y
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
get
Pointing
get
Pointing
End
get
Pointing
Start
get
Touch
get
Touch
End
get
Touch
Start
has
has
Event
Listener
off
on
one
remove
Event
Listener
update
Properties
cache
Positions
cachePositions
:
phina
.
geom
.
Vector2
[]
delta
Position
deltaPosition
:
phina
.
geom
.
Vector2
dx
dx
:
number
dy
dy
:
number
flags
flags
:
number
flick
Velocity
flickVelocity
:
phina
.
geom
.
Vector2
fx
fx
:
number
fy
fy
:
number
id
id
:
number
|
null
max
Cache
Num
maxCacheNum
:
number
max
Distance
maxDistance
:
number
min
Distance
minDistance
:
number
position
position
:
phina
.
geom
.
Vector2
prev
Position
prevPosition
:
phina
.
geom
.
Vector2
start
Position
startPosition
:
phina
.
geom
.
Vector2
x
x
:
number
y
y
:
number
Methods
add
Event
Listener
addEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
clear
clear
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
clear
Event
Listener
clearEventListener
(
type
:
string
)
:
this
Parameters
type
:
string
Returns
this
dispatch
Event
dispatchEvent
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
dispatch
Event
By
Type
dispatchEventByType
(
type
:
string
,
param
:
object
)
:
this
Parameters
type
:
string
param
:
object
Returns
this
fire
fire
(
e
:
{
type
:
string
}
)
:
this
Parameters
e
:
{
type
:
string
}
Returns
this
flare
flare
(
type
:
string
,
param
?:
object
)
:
this
Parameters
type
:
string
Optional
param
:
object
Returns
this
get
Pointing
getPointing
()
:
boolean
Returns
boolean
get
Pointing
End
getPointingEnd
()
:
boolean
Returns
boolean
get
Pointing
Start
getPointingStart
()
:
boolean
Returns
boolean
get
Touch
getTouch
()
:
boolean
Returns
boolean
get
Touch
End
getTouchEnd
()
:
boolean
Returns
boolean
get
Touch
Start
getTouchStart
()
:
boolean
Returns
boolean
has
has
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
has
Event
Listener
hasEventListener
(
type
:
string
)
:
boolean
Parameters
type
:
string
Returns
boolean
off
off
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
on
on
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
one
one
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
remove
Event
Listener
removeEventListener
(
type
:
string
,
listener
:
Function
)
:
this
Parameters
type
:
string
listener
:
Function
Returns
this
update
update
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
cache
Positions
delta
Position
dx
dy
flags
flick
Velocity
fx
fy
id
max
Cache
Num
max
Distance
min
Distance
position
prev
Position
start
Position
x
y
Methods
add
Event
Listener
clear
clear
Event
Listener
dispatch
Event
dispatch
Event
By
Type
fire
flare
get
Pointing
get
Pointing
End
get
Pointing
Start
get
Touch
get
Touch
End
get
Touch
Start
has
has
Event
Listener
off
on
one
remove
Event
Listener
update
phina.js.d.ts
Loading...