Methods
acceleration
- acceleration(): number
- acceleration(acceleration: number): this
-
Returns number
-
Parameters
Returns this
Protected Abstract coords
- coords(clientX: number, clientY: number): object
-
Parameters
-
clientX: number
-
clientY: number
Returns object
Protected createPoint
-
Parameters
Returns ScaleGesturePoint<D>
distanceMin
- distanceMin(): number
- distanceMin(distanceMin: number): this
-
Returns number
-
Parameters
Returns this
domainBounds
- domainBounds(): (null | D)[]
- domainBounds(xMin: (null | D)[] | D | null, xMax?: D | null): this
-
Returns (null | D)[]
-
Parameters
-
xMin: (null | D)[] | D | null
-
Optional xMax: D | null
Returns this
domainMax
- domainMax(): D | null
- domainMax(xMax: D | null): this
-
Returns D
|
null
-
Parameters
Returns this
domainMin
- domainMin(): D | null
- domainMin(xMin: D | null): this
-
Returns D
|
null
-
Parameters
Returns this
hysteresis
- hysteresis(): number
- hysteresis(hysteresis: number): this
-
Returns number
-
Parameters
Returns this
Protected Abstract isParallel
- isParallel(x0: number, y0: number, x1: number, y1: number): boolean
-
Parameters
-
x0: number
-
y0: number
-
x1: number
-
y1: number
Returns boolean
Protected onMultitouchChange
Protected onMultitouchEnd
Protected onMultitouchStart
Protected Abstract rangeCoord
- rangeCoord(clientX: number, clientY: number): number
-
Parameters
-
clientX: number
-
clientY: number
Returns number
ruler
- ruler(): View | null
- ruler(ruler: View | null): this
-
Returns View
|
null
-
Parameters
Returns this
Protected updatePoint
- updatePoint(gesturePoint: MultitouchPoint, scalePoint: ScaleGesturePoint<D>): void
-
Parameters
-
-
scalePoint: ScaleGesturePoint<D>
Returns 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
zoomBounds
- zoomBounds(): (null | number)[]
- zoomBounds(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
zoomMax
- zoomMax(): number | null
- zoomMax(zMax: number | null): this
-
Returns number
|
null
-
Parameters
Returns this
zoomMin
- zoomMin(): number | null
- zoomMin(zMin: number | null): this
-
Returns number
|
null
-
Parameters
Returns this