Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/view
MouseScaleGesture
Class MouseScaleGesture<X, Y, V>
Type parameters
X
Y
V
:
View
Hierarchy
AbstractScaleGesture
<
X
,
Y
,
V
>
MouseScaleGesture
Index
Constructors
constructor
Properties
coast
Count
delegate
hover
Count
input
Count
inputs
needs
Rescale
press
Count
view
wheel
Zoom
Acceleration
Distance
Min
Hysteresis
Velocity
Max
Accessors
acceleration
distance
Min
hysteresis
preserve
Aspect
Ratio
velocity
Max
Methods
attach
Events
attach
Hover
Events
attach
Press
Events
attach
Wheel
Events
begin
Coast
begin
Hover
begin
Press
cancel
cancel
Press
clear
Input
client
ToRangeX
client
ToRangeY
conserve
Momentum
create
Input
detach
Events
detach
Hover
Events
detach
Press
Events
detach
Wheel
Events
did
Begin
Coast
did
Begin
Hover
did
Begin
Press
did
Cancel
Press
did
Coast
did
End
Coast
did
End
Hover
did
End
Press
did
Long
Press
did
Move
Press
did
Press
did
Start
Coasting
did
Start
Hovering
did
Start
Interacting
did
Start
Pressing
did
Stop
Coasting
did
Stop
Hovering
did
Stop
Interacting
did
Stop
Pressing
distributeXMomentum
distributeXYMomentum
distributeYMomentum
do
Coast
end
Coast
end
Hover
end
Press
get
Input
get
OrCreate
Input
init
View
integrate
interrupt
is
Coasting
is
Hovering
is
Pressing
long
Press
move
Press
neutralizeX
neutralizeY
on
Begin
Coast
on
Begin
Hover
on
Begin
Press
on
Cancel
Press
on
Coast
on
End
Coast
on
End
Hover
on
End
Press
on
Long
Press
on
Mouse
Down
on
Mouse
Enter
on
Mouse
Leave
on
Mouse
Leave
Document
on
Mouse
Move
on
Mouse
Up
on
Move
Press
on
Press
on
Start
Coasting
on
Start
Hovering
on
Start
Interacting
on
Start
Pressing
on
Stop
Coasting
on
Stop
Hovering
on
Stop
Interacting
on
Stop
Pressing
on
Wheel
press
rescale
rescale
Radial
rescaleX
rescaleXY
rescaleY
set
Delegate
set
View
start
Coasting
start
Hovering
start
Interacting
start
Pressing
stop
Coasting
stop
Hovering
stop
Interacting
stop
Pressing
unscaleX
unscaleY
update
Input
update
Input
Domain
view
Did
Mount
view
Will
Animate
view
Will
Unmount
wheel
will
Begin
Coast
will
Begin
Hover
will
Begin
Press
will
Cancel
Press
will
Coast
will
End
Coast
will
End
Hover
will
End
Press
will
Long
Press
will
Move
Press
will
Press
will
Start
Coasting
will
Start
Hovering
will
Start
Interacting
will
Start
Pressing
will
Stop
Coasting
will
Stop
Hovering
will
Stop
Interacting
will
Stop
Pressing
x
Gestures
x
Scale
y
Gestures
y
Scale
zoom
Constructors
constructor
new
Mouse
Scale
Gesture<X, Y, V>
(
view
:
null
|
V
, delegate
?:
null
|
ScaleGestureDelegate
<
X
,
Y
>
)
:
MouseScaleGesture
<
X
,
Y
,
V
>
Type parameters
X
Y
V
:
View
<
V
>
Parameters
view:
null
|
V
Optional
delegate:
null
|
ScaleGestureDelegate
<
X
,
Y
>
Returns
MouseScaleGesture
<
X
,
Y
,
V
>
Properties
Readonly
coast
Count
coast
Count
:
number
Readonly
delegate
delegate
:
null
|
ScaleGestureDelegate
<
X
,
Y
>
Readonly
hover
Count
hover
Count
:
number
Readonly
input
Count
input
Count
:
number
Readonly
inputs
inputs
:
{}
Type declaration
[
inputId:
string
]:
ScaleGestureInput
<
X
,
Y
>
|
undefined
Readonly
needs
Rescale
needs
Rescale
:
boolean
Readonly
press
Count
press
Count
:
number
Readonly
view
view
:
null
|
V
Protected
wheel
Zoom
wheel
Zoom
:
boolean
Static
Acceleration
Acceleration
:
number
Static
Distance
Min
Distance
Min
:
number
Static
Hysteresis
Hysteresis
:
number
Static
Velocity
Max
Velocity
Max
:
number
Accessors
Protected
acceleration
get
acceleration
(
)
:
number
Returns
number
Protected
distance
Min
get
distanceMin
(
)
:
number
Returns
number
Protected
hysteresis
get
hysteresis
(
)
:
number
Returns
number
Protected
preserve
Aspect
Ratio
get
preserveAspectRatio
(
)
:
boolean
Returns
boolean
Protected
velocity
Max
get
velocityMax
(
)
:
number
Returns
number
Methods
Protected
attach
Events
attach
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
attach
Hover
Events
attach
Hover
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
attach
Press
Events
attach
Press
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
attach
Wheel
Events
attach
Wheel
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
begin
Coast
begin
Coast
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
begin
Hover
begin
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
begin
Press
begin
Press
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
void
cancel
cancel
(
event
:
null
|
Event
)
:
void
Parameters
event:
null
|
Event
Returns
void
cancel
Press
cancel
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
clear
Input
clear
Input
(
input
:
MomentumGestureInput
)
:
void
Parameters
input:
MomentumGestureInput
Returns
void
Protected
client
ToRangeX
client
ToRangeX
(
clientX
:
number
, xScale
:
ContinuousScale
<
X
,
number
>
, bounds
:
R2Box
)
:
number
Parameters
clientX:
number
xScale:
ContinuousScale
<
X
,
number
>
bounds:
R2Box
Returns
number
Protected
client
ToRangeY
client
ToRangeY
(
clientY
:
number
, yScale
:
ContinuousScale
<
Y
,
number
>
, bounds
:
R2Box
)
:
number
Parameters
clientY:
number
yScale:
ContinuousScale
<
Y
,
number
>
bounds:
R2Box
Returns
number
Protected
conserve
Momentum
conserve
Momentum
(
input0
:
ScaleGestureInput
<
X
,
Y
>
)
:
void
Parameters
input0:
ScaleGestureInput
<
X
,
Y
>
Returns
void
Protected
create
Input
create
Input
(
inputId
:
string
, inputType
:
GestureInputType
, isPrimary
:
boolean
, x
:
number
, y
:
number
, t
:
number
)
:
ScaleGestureInput
<
X
,
Y
>
Parameters
inputId:
string
inputType:
GestureInputType
isPrimary:
boolean
x:
number
y:
number
t:
number
Returns
ScaleGestureInput
<
X
,
Y
>
Protected
detach
Events
detach
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
detach
Hover
Events
detach
Hover
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
detach
Press
Events
detach
Press
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
detach
Wheel
Events
detach
Wheel
Events
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
Protected
did
Begin
Coast
did
Begin
Coast
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
void
Protected
did
Begin
Hover
did
Begin
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
Begin
Press
did
Begin
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
Cancel
Press
did
Cancel
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
Coast
did
Coast
(
)
:
void
Returns
void
Protected
did
End
Coast
did
End
Coast
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
void
Protected
did
End
Hover
did
End
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
End
Press
did
End
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
Long
Press
did
Long
Press
(
input
:
PositionGestureInput
)
:
void
Parameters
input:
PositionGestureInput
Returns
void
Protected
did
Move
Press
did
Move
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
Press
did
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
did
Start
Coasting
did
Start
Coasting
(
)
:
void
Returns
void
Protected
did
Start
Hovering
did
Start
Hovering
(
)
:
void
Returns
void
Protected
did
Start
Interacting
did
Start
Interacting
(
)
:
void
Returns
void
Protected
did
Start
Pressing
did
Start
Pressing
(
)
:
void
Returns
void
Protected
did
Stop
Coasting
did
Stop
Coasting
(
)
:
void
Returns
void
Protected
did
Stop
Hovering
did
Stop
Hovering
(
)
:
void
Returns
void
Protected
did
Stop
Interacting
did
Stop
Interacting
(
)
:
void
Returns
void
Protected
did
Stop
Pressing
did
Stop
Pressing
(
)
:
void
Returns
void
Protected
distributeXMomentum
distributeXMomentum
(
input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
ScaleGestureInput
<
X
,
Y
>
)
:
void
Parameters
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
ScaleGestureInput
<
X
,
Y
>
Returns
void
Protected
distributeXYMomentum
distributeXYMomentum
(
input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
ScaleGestureInput
<
X
,
Y
>
)
:
void
Parameters
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
ScaleGestureInput
<
X
,
Y
>
Returns
void
Protected
distributeYMomentum
distributeYMomentum
(
input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
ScaleGestureInput
<
X
,
Y
>
)
:
void
Parameters
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
ScaleGestureInput
<
X
,
Y
>
Returns
void
Protected
do
Coast
do
Coast
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
end
Coast
end
Coast
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
void
end
Hover
end
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
end
Press
end
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
get
Input
get
Input
(
inputId
:
string
|
number
)
:
null
|
ScaleGestureInput
<
X
,
Y
>
Parameters
inputId:
string
|
number
Returns
null
|
ScaleGestureInput
<
X
,
Y
>
Protected
get
OrCreate
Input
get
OrCreate
Input
(
inputId
:
string
|
number
, inputType
:
GestureInputType
, isPrimary
:
boolean
, x
:
number
, y
:
number
, t
:
number
)
:
ScaleGestureInput
<
X
,
Y
>
Parameters
inputId:
string
|
number
inputType:
GestureInputType
isPrimary:
boolean
x:
number
y:
number
t:
number
Returns
ScaleGestureInput
<
X
,
Y
>
Protected
init
View
init
View
(
view
:
null
|
V
)
:
void
Parameters
view:
null
|
V
Returns
void
Protected
integrate
integrate
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
interrupt
interrupt
(
event
:
null
|
Event
)
:
void
Parameters
event:
null
|
Event
Returns
void
is
Coasting
is
Coasting
(
)
:
boolean
Returns
boolean
is
Hovering
is
Hovering
(
)
:
boolean
Returns
boolean
is
Pressing
is
Pressing
(
)
:
boolean
Returns
boolean
long
Press
long
Press
(
input
:
PositionGestureInput
)
:
void
Parameters
input:
PositionGestureInput
Returns
void
move
Press
move
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
neutralizeX
neutralizeX
(
)
:
void
Returns
void
neutralizeY
neutralizeY
(
)
:
void
Returns
void
Protected
on
Begin
Coast
on
Begin
Coast
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
Protected
on
Begin
Hover
on
Begin
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
on
Begin
Press
on
Begin
Press
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
Protected
on
Cancel
Press
on
Cancel
Press
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
Protected
on
Coast
on
Coast
(
)
:
void
Returns
void
Protected
on
End
Coast
on
End
Coast
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
Protected
on
End
Hover
on
End
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
on
End
Press
on
End
Press
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
Protected
on
Long
Press
on
Long
Press
(
input
:
PositionGestureInput
)
:
void
Parameters
input:
PositionGestureInput
Returns
void
Protected
on
Mouse
Down
on
Mouse
Down
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Protected
on
Mouse
Enter
on
Mouse
Enter
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Protected
on
Mouse
Leave
on
Mouse
Leave
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Protected
on
Mouse
Leave
Document
on
Mouse
Leave
Document
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Protected
on
Mouse
Move
on
Mouse
Move
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Protected
on
Mouse
Up
on
Mouse
Up
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Protected
on
Move
Press
on
Move
Press
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
null
|
Event
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
null
|
Event
Returns
void
Protected
on
Press
on
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
on
Start
Coasting
on
Start
Coasting
(
)
:
void
Returns
void
Protected
on
Start
Hovering
on
Start
Hovering
(
)
:
void
Returns
void
Protected
on
Start
Interacting
on
Start
Interacting
(
)
:
void
Returns
void
Protected
on
Start
Pressing
on
Start
Pressing
(
)
:
void
Returns
void
Protected
on
Stop
Coasting
on
Stop
Coasting
(
)
:
void
Returns
void
Protected
on
Stop
Hovering
on
Stop
Hovering
(
)
:
void
Returns
void
Protected
on
Stop
Interacting
on
Stop
Interacting
(
)
:
void
Returns
void
Protected
on
Stop
Pressing
on
Stop
Pressing
(
)
:
void
Returns
void
Protected
on
Wheel
on
Wheel
(
event
:
WheelEvent
)
:
void
Parameters
event:
WheelEvent
Returns
void
press
press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
rescale
rescale
(
)
:
void
Returns
void
Protected
rescale
Radial
rescale
Radial
(
oldXScale
:
ContinuousScale
<
X
,
number
>
, oldYScale
:
ContinuousScale
<
Y
,
number
>
, input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
ScaleGestureInput
<
X
,
Y
>
, bounds
:
R2Box
)
:
void
Parameters
oldXScale:
ContinuousScale
<
X
,
number
>
oldYScale:
ContinuousScale
<
Y
,
number
>
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
ScaleGestureInput
<
X
,
Y
>
bounds:
R2Box
Returns
void
Protected
rescaleX
rescaleX
(
oldXScale
:
ContinuousScale
<
X
,
number
>
, input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
undefined
|
ScaleGestureInput
<
X
,
Y
>
, bounds
:
R2Box
)
:
void
Parameters
oldXScale:
ContinuousScale
<
X
,
number
>
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
undefined
|
ScaleGestureInput
<
X
,
Y
>
bounds:
R2Box
Returns
void
Protected
rescaleXY
rescaleXY
(
oldXScale
:
ContinuousScale
<
X
,
number
>
, oldYScale
:
ContinuousScale
<
Y
,
number
>
, input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
undefined
|
ScaleGestureInput
<
X
,
Y
>
, bounds
:
R2Box
)
:
void
Parameters
oldXScale:
ContinuousScale
<
X
,
number
>
oldYScale:
ContinuousScale
<
Y
,
number
>
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
undefined
|
ScaleGestureInput
<
X
,
Y
>
bounds:
R2Box
Returns
void
Protected
rescaleY
rescaleY
(
oldYScale
:
ContinuousScale
<
Y
,
number
>
, input0
:
ScaleGestureInput
<
X
,
Y
>
, input1
:
undefined
|
ScaleGestureInput
<
X
,
Y
>
, bounds
:
R2Box
)
:
void
Parameters
oldYScale:
ContinuousScale
<
Y
,
number
>
input0:
ScaleGestureInput
<
X
,
Y
>
input1:
undefined
|
ScaleGestureInput
<
X
,
Y
>
bounds:
R2Box
Returns
void
set
Delegate
set
Delegate
(
delegate
:
null
|
ScaleGestureDelegate
<
X
,
Y
>
)
:
void
Parameters
delegate:
null
|
ScaleGestureDelegate
<
X
,
Y
>
Returns
void
set
View
set
View
(
newView
:
null
|
V
)
:
void
Parameters
newView:
null
|
V
Returns
void
Protected
start
Coasting
start
Coasting
(
)
:
void
Returns
void
Protected
start
Hovering
start
Hovering
(
)
:
void
Returns
void
Protected
start
Interacting
start
Interacting
(
)
:
void
Returns
void
Protected
start
Pressing
start
Pressing
(
)
:
void
Returns
void
Protected
stop
Coasting
stop
Coasting
(
)
:
void
Returns
void
Protected
stop
Hovering
stop
Hovering
(
)
:
void
Returns
void
Protected
stop
Interacting
stop
Interacting
(
)
:
void
Returns
void
Protected
stop
Pressing
stop
Pressing
(
)
:
void
Returns
void
Protected
unscaleX
unscaleX
(
clientX
:
number
, xScale
:
ContinuousScale
<
X
,
number
>
, bounds
:
R2Box
)
:
X
Parameters
clientX:
number
xScale:
ContinuousScale
<
X
,
number
>
bounds:
R2Box
Returns
X
Protected
unscaleY
unscaleY
(
clientY
:
number
, yScale
:
ContinuousScale
<
Y
,
number
>
, bounds
:
R2Box
)
:
Y
Parameters
clientY:
number
yScale:
ContinuousScale
<
Y
,
number
>
bounds:
R2Box
Returns
Y
Protected
update
Input
update
Input
(
input
:
ScaleGestureInput
<
X
,
Y
>
, event
:
MouseEvent
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
event:
MouseEvent
Returns
void
Protected
update
Input
Domain
update
Input
Domain
(
input
:
ScaleGestureInput
<
X
,
Y
>
, xScale
?:
null
|
ContinuousScale
<
X
,
number
>
, yScale
?:
null
|
ContinuousScale
<
Y
,
number
>
, bounds
?:
R2Box
)
:
void
Parameters
input:
ScaleGestureInput
<
X
,
Y
>
Optional
xScale:
null
|
ContinuousScale
<
X
,
number
>
Optional
yScale:
null
|
ContinuousScale
<
Y
,
number
>
Optional
bounds:
R2Box
Returns
void
view
Did
Mount
view
Did
Mount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
view
Will
Animate
view
Will
Animate
(
viewContext
:
ViewContext
)
:
void
Parameters
viewContext:
ViewContext
Returns
void
view
Will
Unmount
view
Will
Unmount
(
view
:
V
)
:
void
Parameters
view:
V
Returns
void
wheel
wheel
(
)
:
boolean
wheel
(
wheel
:
boolean
)
:
MouseScaleGesture
<
X
,
Y
,
V
>
Returns
boolean
Parameters
wheel:
boolean
Returns
MouseScaleGesture
<
X
,
Y
,
V
>
Protected
will
Begin
Coast
will
Begin
Coast
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
boolean
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
boolean
Protected
will
Begin
Hover
will
Begin
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
will
Begin
Press
will
Begin
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
boolean
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
boolean
Protected
will
Cancel
Press
will
Cancel
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
will
Coast
will
Coast
(
)
:
void
Returns
void
Protected
will
End
Coast
will
End
Coast
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
void
Protected
will
End
Hover
will
End
Hover
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
will
End
Press
will
End
Press
(
input
:
MomentumGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
MomentumGestureInput
event:
null
|
Event
Returns
void
Protected
will
Long
Press
will
Long
Press
(
input
:
PositionGestureInput
)
:
void
Parameters
input:
PositionGestureInput
Returns
void
Protected
will
Move
Press
will
Move
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
will
Press
will
Press
(
input
:
PositionGestureInput
, event
:
null
|
Event
)
:
void
Parameters
input:
PositionGestureInput
event:
null
|
Event
Returns
void
Protected
will
Start
Coasting
will
Start
Coasting
(
)
:
void
Returns
void
Protected
will
Start
Hovering
will
Start
Hovering
(
)
:
void
Returns
void
Protected
will
Start
Interacting
will
Start
Interacting
(
)
:
void
Returns
void
Protected
will
Start
Pressing
will
Start
Pressing
(
)
:
void
Returns
void
Protected
will
Stop
Coasting
will
Stop
Coasting
(
)
:
void
Returns
void
Protected
will
Stop
Hovering
will
Stop
Hovering
(
)
:
void
Returns
void
Protected
will
Stop
Interacting
will
Stop
Interacting
(
)
:
void
Returns
void
Protected
will
Stop
Pressing
will
Stop
Pressing
(
)
:
void
Returns
void
x
Gestures
x
Gestures
(
)
:
boolean
Returns
boolean
x
Scale
x
Scale
(
)
:
null
|
ContinuousScale
<
X
,
number
>
x
Scale
(
xScale
:
null
|
ContinuousScale
<
X
,
number
>
, timing
?:
boolean
|
AnyTiming
)
:
MouseScaleGesture
<
X
,
Y
,
V
>
Returns
null
|
ContinuousScale
<
X
,
number
>
Parameters
xScale:
null
|
ContinuousScale
<
X
,
number
>
Optional
timing:
boolean
|
AnyTiming
Returns
MouseScaleGesture
<
X
,
Y
,
V
>
y
Gestures
y
Gestures
(
)
:
boolean
Returns
boolean
y
Scale
y
Scale
(
)
:
null
|
ContinuousScale
<
Y
,
number
>
y
Scale
(
yScale
:
null
|
ContinuousScale
<
Y
,
number
>
, timing
?:
boolean
|
AnyTiming
)
:
MouseScaleGesture
<
X
,
Y
,
V
>
Returns
null
|
ContinuousScale
<
Y
,
number
>
Parameters
yScale:
null
|
ContinuousScale
<
Y
,
number
>
Optional
timing:
boolean
|
AnyTiming
Returns
MouseScaleGesture
<
X
,
Y
,
V
>
zoom
zoom
(
x
:
number
, y
:
number
, dz
:
number
, event
:
null
|
Event
)
:
void
Parameters
x:
number
y:
number
dz:
number
event:
null
|
Event
Returns
void
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Mouse
Scale
Gesture
constructor
coast
Count
delegate
hover
Count
input
Count
inputs
needs
Rescale
press
Count
view
wheel
Zoom
Acceleration
Distance
Min
Hysteresis
Velocity
Max
acceleration
distance
Min
hysteresis
preserve
Aspect
Ratio
velocity
Max
attach
Events
attach
Hover
Events
attach
Press
Events
attach
Wheel
Events
begin
Coast
begin
Hover
begin
Press
cancel
cancel
Press
clear
Input
client
ToRangeX
client
ToRangeY
conserve
Momentum
create
Input
detach
Events
detach
Hover
Events
detach
Press
Events
detach
Wheel
Events
did
Begin
Coast
did
Begin
Hover
did
Begin
Press
did
Cancel
Press
did
Coast
did
End
Coast
did
End
Hover
did
End
Press
did
Long
Press
did
Move
Press
did
Press
did
Start
Coasting
did
Start
Hovering
did
Start
Interacting
did
Start
Pressing
did
Stop
Coasting
did
Stop
Hovering
did
Stop
Interacting
did
Stop
Pressing
distributeXMomentum
distributeXYMomentum
distributeYMomentum
do
Coast
end
Coast
end
Hover
end
Press
get
Input
get
OrCreate
Input
init
View
integrate
interrupt
is
Coasting
is
Hovering
is
Pressing
long
Press
move
Press
neutralizeX
neutralizeY
on
Begin
Coast
on
Begin
Hover
on
Begin
Press
on
Cancel
Press
on
Coast
on
End
Coast
on
End
Hover
on
End
Press
on
Long
Press
on
Mouse
Down
on
Mouse
Enter
on
Mouse
Leave
on
Mouse
Leave
Document
on
Mouse
Move
on
Mouse
Up
on
Move
Press
on
Press
on
Start
Coasting
on
Start
Hovering
on
Start
Interacting
on
Start
Pressing
on
Stop
Coasting
on
Stop
Hovering
on
Stop
Interacting
on
Stop
Pressing
on
Wheel
press
rescale
rescale
Radial
rescaleX
rescaleXY
rescaleY
set
Delegate
set
View
start
Coasting
start
Hovering
start
Interacting
start
Pressing
stop
Coasting
stop
Hovering
stop
Interacting
stop
Pressing
unscaleX
unscaleY
update
Input
update
Input
Domain
view
Did
Mount
view
Will
Animate
view
Will
Unmount
wheel
will
Begin
Coast
will
Begin
Hover
will
Begin
Press
will
Cancel
Press
will
Coast
will
End
Coast
will
End
Hover
will
End
Press
will
Long
Press
will
Move
Press
will
Press
will
Start
Coasting
will
Start
Hovering
will
Start
Interacting
will
Start
Pressing
will
Stop
Coasting
will
Stop
Hovering
will
Stop
Interacting
will
Stop
Pressing
x
Gestures
x
Scale
y
Gestures
y
Scale
zoom
Generated using
TypeDoc