Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScaleGesture<D>

Type parameters

  • D

Hierarchy

Index

Constructors

constructor

Methods

acceleration

  • acceleration(): number
  • acceleration(acceleration: number): this

attach

Protected clampScale

  • clampScale(): boolean

Protected Abstract coords

  • coords(clientX: number, clientY: number): object

Protected createPoint

detach

distanceMin

  • distanceMin(): number
  • distanceMin(distanceMin: number): this

domainBounds

  • domainBounds(): (null | D)[]
  • domainBounds(xMin: (null | D)[] | D | null, xMax?: D | null): this

domainMax

  • domainMax(): D | null
  • domainMax(xMax: D | null): this

domainMin

  • domainMin(): D | null
  • domainMin(xMin: D | null): this

hysteresis

  • hysteresis(): number
  • hysteresis(hysteresis: number): this

Protected Abstract isParallel

  • isParallel(x0: number, y0: number, x1: number, y1: number): boolean

multitouch

Protected onMultitouchChange

Protected onMultitouchEnd

Protected onMultitouchStart

Protected Abstract rangeCoord

  • rangeCoord(clientX: number, clientY: number): number

Protected rescale

  • rescale(): boolean

ruler

  • ruler(): View | null
  • ruler(ruler: View | null): this

scale

Protected scaleChange

  • scaleChange(): void

Protected scaleEnd

  • scaleEnd(): void

Protected scaleStart

  • scaleStart(): void

Protected updatePoint

  • updatePoint(gesturePoint: MultitouchPoint, scalePoint: ScaleGesturePoint<D>): void

updatePoints

velocityMax

  • velocityMax(): number
  • velocityMax(velocityMax: number): this

wheel

  • wheel(): boolean
  • wheel(wheel: boolean): this

zoomBounds

  • zoomBounds(): (null | number)[]
  • zoomBounds(zMin: boolean | (null | number)[] | number | null, zMax?: number | null): this

zoomMax

  • zoomMax(): number | null
  • zoomMax(zMax: number | null): this

zoomMin

  • zoomMin(): number | null
  • zoomMin(zMin: number | null): this

Static horizontal

Static vertical