Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/gesture
HorizontalScaleGesture
Class HorizontalScaleGesture<D>
Type parameters
D
Hierarchy
ScaleGesture
<
D
>
HorizontalScaleGesture
Index
Constructors
constructor
Methods
acceleration
attach
clamp
Scale
coords
create
Point
detach
distance
Min
domain
Bounds
domain
Max
domain
Min
hysteresis
is
Parallel
multitouch
on
Multitouch
Change
on
Multitouch
End
on
Multitouch
Start
range
Coord
rescale
ruler
scale
scale
Change
scale
End
scale
Start
update
Point
update
Points
velocity
Max
wheel
zoom
Bounds
zoom
Max
zoom
Min
horizontal
vertical
Constructors
constructor
new
Horizontal
Scale
Gesture
(
)
:
HorizontalScaleGesture
Returns
HorizontalScaleGesture
Methods
acceleration
acceleration
(
)
:
number
acceleration
(
acceleration
:
number
)
:
this
Returns
number
Parameters
acceleration:
number
Returns
this
attach
attach
(
multitouch
:
Multitouch
)
:
void
Parameters
multitouch:
Multitouch
Returns
void
Protected
clamp
Scale
clamp
Scale
(
)
:
boolean
Returns
boolean
Protected
coords
coords
(
clientX
:
number
, clientY
:
number
)
:
object
Parameters
clientX:
number
clientY:
number
Returns
object
Protected
create
Point
create
Point
(
gesturePoint
:
MultitouchPoint
)
:
ScaleGesturePoint
<
D
>
Parameters
gesturePoint:
MultitouchPoint
Returns
ScaleGesturePoint
<
D
>
detach
detach
(
multitouch
:
Multitouch
)
:
void
Parameters
multitouch:
Multitouch
Returns
void
distance
Min
distance
Min
(
)
:
number
distance
Min
(
distanceMin
:
number
)
:
this
Returns
number
Parameters
distanceMin:
number
Returns
this
domain
Bounds
domain
Bounds
(
)
:
(
null
|
D
)
[]
domain
Bounds
(
xMin
:
(
null
|
D
)
[]
|
D
|
null
, xMax
?:
D
|
null
)
:
this
Returns
(
null
|
D
)
[]
Parameters
xMin:
(
null
|
D
)
[]
|
D
|
null
Optional
xMax:
D
|
null
Returns
this
domain
Max
domain
Max
(
)
:
D
|
null
domain
Max
(
xMax
:
D
|
null
)
:
this
Returns
D
|
null
Parameters
xMax:
D
|
null
Returns
this
domain
Min
domain
Min
(
)
:
D
|
null
domain
Min
(
xMin
:
D
|
null
)
:
this
Returns
D
|
null
Parameters
xMin:
D
|
null
Returns
this
hysteresis
hysteresis
(
)
:
number
hysteresis
(
hysteresis
:
number
)
:
this
Returns
number
Parameters
hysteresis:
number
Returns
this
Protected
is
Parallel
is
Parallel
(
x0
:
number
, y0
:
number
, x1
:
number
, y1
:
number
)
:
boolean
Parameters
x0:
number
y0:
number
x1:
number
y1:
number
Returns
boolean
multitouch
multitouch
(
)
:
Multitouch
|
null
multitouch
(
multitouch
:
Multitouch
|
null
)
:
this
Returns
Multitouch
|
null
Parameters
multitouch:
Multitouch
|
null
Returns
this
Protected
on
Multitouch
Change
on
Multitouch
Change
(
event
:
MultitouchEvent
)
:
void
Parameters
event:
MultitouchEvent
Returns
void
Protected
on
Multitouch
End
on
Multitouch
End
(
event
:
MultitouchEvent
)
:
void
Parameters
event:
MultitouchEvent
Returns
void
Protected
on
Multitouch
Start
on
Multitouch
Start
(
event
:
MultitouchEvent
)
:
void
Parameters
event:
MultitouchEvent
Returns
void
Protected
range
Coord
range
Coord
(
clientX
:
number
, clientY
:
number
)
:
number
Parameters
clientX:
number
clientY:
number
Returns
number
Protected
rescale
rescale
(
)
:
boolean
Returns
boolean
ruler
ruler
(
)
:
View
|
null
ruler
(
ruler
:
View
|
null
)
:
this
Returns
View
|
null
Parameters
ruler:
View
|
null
Returns
this
scale
scale
(
)
:
ContinuousScale
<
D
,
number
>
|
null
scale
(
scale
:
ContinuousScale
<
D
,
number
>
|
null
)
:
this
Returns
ContinuousScale
<
D
,
number
>
|
null
Parameters
scale:
ContinuousScale
<
D
,
number
>
|
null
Returns
this
Protected
scale
Change
scale
Change
(
)
:
void
Returns
void
Protected
scale
End
scale
End
(
)
:
void
Returns
void
Protected
scale
Start
scale
Start
(
)
:
void
Returns
void
Protected
update
Point
update
Point
(
gesturePoint
:
MultitouchPoint
, scalePoint
:
ScaleGesturePoint
<
D
>
)
:
void
Parameters
gesturePoint:
MultitouchPoint
scalePoint:
ScaleGesturePoint
<
D
>
Returns
void
update
Points
update
Points
(
gesturePoints
:
ReadonlyArray
<
MultitouchPoint
>
)
:
void
Parameters
gesturePoints:
ReadonlyArray
<
MultitouchPoint
>
Returns
void
velocity
Max
velocity
Max
(
)
:
number
velocity
Max
(
velocityMax
:
number
)
:
this
Returns
number
Parameters
velocityMax:
number
Returns
this
wheel
wheel
(
)
:
boolean
wheel
(
wheel
:
boolean
)
:
this
Returns
boolean
Parameters
wheel:
boolean
Returns
this
zoom
Bounds
zoom
Bounds
(
)
:
(
null
|
number
)
[]
zoom
Bounds
(
zMin
:
boolean
|
(
null
|
number
)
[]
|
number
|
null
, zMax
?:
number
|
null
)
:
this
Returns
(
null
|
number
)
[]
Parameters
zMin:
boolean
|
(
null
|
number
)
[]
|
number
|
null
Optional
zMax:
number
|
null
Returns
this
zoom
Max
zoom
Max
(
)
:
number
|
null
zoom
Max
(
zMax
:
number
|
null
)
:
this
Returns
number
|
null
Parameters
zMax:
number
|
null
Returns
this
zoom
Min
zoom
Min
(
)
:
number
|
null
zoom
Min
(
zMin
:
number
|
null
)
:
this
Returns
number
|
null
Parameters
zMin:
number
|
null
Returns
this
Static
horizontal
horizontal<D>
(
)
:
HorizontalScaleGesture
<
D
>
Type parameters
D
Returns
HorizontalScaleGesture
<
D
>
Static
vertical
vertical<D>
(
)
:
VerticalScaleGesture
<
D
>
Type parameters
D
Returns
VerticalScaleGesture
<
D
>
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/angle
@swim/animate
@swim/color
@swim/constraint
@swim/dom
@swim/font
@swim/gesture
@swim/interpolate
@swim/length
@swim/render
@swim/scale
@swim/shape
@swim/style
@swim/transform
@swim/transition
@swim/typeset
@swim/view
@swim/ux
@swim/web
Horizontal
Scale
Gesture
constructor
acceleration
attach
clamp
Scale
coords
create
Point
detach
distance
Min
domain
Bounds
domain
Max
domain
Min
hysteresis
is
Parallel
multitouch
on
Multitouch
Change
on
Multitouch
End
on
Multitouch
Start
range
Coord
rescale
ruler
scale
scale
Change
scale
End
scale
Start
update
Point
update
Points
velocity
Max
wheel
zoom
Bounds
zoom
Max
zoom
Min
horizontal
vertical
Multitouch
Multitouch
Event
Multitouch
Mouse
Multitouch
Pointer
Multitouch
Touch
Scale
Gesture
Scale
Gesture
Event
Vertical
Scale
Gesture
Multitouch
Event
Init
Multitouch
Point
Scale
Gesture
Event
Init