Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractScaleGesture<X, Y, V>

Type parameters

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly coastCount

coastCount: number

Readonly delegate

delegate: null | ScaleGestureDelegate<X, Y>

Readonly hoverCount

hoverCount: number

Readonly inputCount

inputCount: number

Readonly inputs

inputs: {}

Type declaration

Readonly needsRescale

needsRescale: boolean

Readonly pressCount

pressCount: number

Readonly view

view: null | V

Static Acceleration

Acceleration: number

Static DistanceMin

DistanceMin: number

Static Hysteresis

Hysteresis: number

Static VelocityMax

VelocityMax: number

Accessors

Protected acceleration

  • get acceleration(): number
  • Returns number

Protected distanceMin

  • get distanceMin(): number
  • Returns number

Protected hysteresis

  • get hysteresis(): number
  • Returns number

Protected preserveAspectRatio

  • get preserveAspectRatio(): boolean
  • Returns boolean

Protected velocityMax

  • get velocityMax(): number
  • Returns number

Methods

Protected attachEvents

  • attachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected attachHoverEvents

  • attachHoverEvents(view: V): void

Protected attachPressEvents

  • attachPressEvents(view: V): void

beginCoast

beginHover

beginPress

cancel

  • cancel(event: null | Event): void
  • Parameters

    • event: null | Event

    Returns void

cancelPress

Protected clearInput

Protected clientToRangeX

  • Parameters

    Returns number

Protected clientToRangeY

  • Parameters

    Returns number

Protected conserveMomentum

  • Parameters

    Returns void

Protected createInput

Protected detachEvents

  • detachEvents(view: V): void
  • Parameters

    • view: V

    Returns void

Protected detachHoverEvents

  • detachHoverEvents(view: V): void

Protected detachPressEvents

  • detachPressEvents(view: V): void

Protected didBeginCoast

Protected didBeginHover

Protected didBeginPress

Protected didCancelPress

Protected didCoast

  • didCoast(): void

Protected didEndCoast

Protected didEndHover

Protected didEndPress

Protected didLongPress

Protected didMovePress

Protected didPress

Protected didStartCoasting

  • didStartCoasting(): void

Protected didStartHovering

  • didStartHovering(): void

Protected didStartInteracting

  • didStartInteracting(): void

Protected didStartPressing

  • didStartPressing(): void

Protected didStopCoasting

  • didStopCoasting(): void

Protected didStopHovering

  • didStopHovering(): void

Protected didStopInteracting

  • didStopInteracting(): void

Protected didStopPressing

  • didStopPressing(): void

Protected distributeXMomentum

  • Parameters

    Returns void

Protected distributeXYMomentum

  • Parameters

    Returns void

Protected distributeYMomentum

  • Parameters

    Returns void

Protected doCoast

  • doCoast(t: number): void
  • Parameters

    • t: number

    Returns void

endCoast

endHover

endPress

getInput

Protected getOrCreateInput

Protected initView

  • initView(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

isCoasting

  • isCoasting(): boolean

isHovering

  • isHovering(): boolean

isPressing

  • isPressing(): boolean

longPress

movePress

neutralizeX

  • neutralizeX(): void
  • Returns void

neutralizeY

  • neutralizeY(): void
  • Returns void

Protected onBeginCoast

Protected onBeginHover

Protected onBeginPress

Protected onCancelPress

Protected onCoast

  • onCoast(): void

Protected onEndCoast

Protected onEndHover

Protected onEndPress

Protected onLongPress

Protected onMovePress

Protected onPress

Protected onStartCoasting

  • onStartCoasting(): void

Protected onStartHovering

  • onStartHovering(): void

Protected onStartInteracting

  • onStartInteracting(): void

Protected onStartPressing

  • onStartPressing(): void

Protected onStopCoasting

  • onStopCoasting(): void

Protected onStopHovering

  • onStopHovering(): void

Protected onStopInteracting

  • onStopInteracting(): void

Protected onStopPressing

  • onStopPressing(): void

press

Protected rescale

  • rescale(): void
  • Returns void

Protected rescaleRadial

Protected rescaleX

Protected rescaleXY

Protected rescaleY

setDelegate

setView

  • setView(newView: null | V): void
  • Parameters

    • newView: null | V

    Returns void

Protected startCoasting

  • startCoasting(): void

Protected startHovering

  • startHovering(): void

Protected startInteracting

  • startInteracting(): void

Protected startPressing

  • startPressing(): void

Protected stopCoasting

  • stopCoasting(): void

Protected stopHovering

  • stopHovering(): void

Protected stopInteracting

  • stopInteracting(): void

Protected stopPressing

  • stopPressing(): void

Protected unscaleX

  • Parameters

    Returns X

Protected unscaleY

  • Parameters

    Returns Y

Protected updateInputDomain

  • Parameters

    Returns void

viewDidMount

  • viewDidMount(view: V): void

viewWillAnimate

viewWillUnmount

  • viewWillUnmount(view: V): void

wheel

  • Returns boolean

  • Parameters

    • wheel: boolean

    Returns AbstractScaleGesture<X, Y, V>

Protected willBeginCoast

Protected willBeginHover

Protected willBeginPress

Protected willCancelPress

Protected willCoast

  • willCoast(): void

Protected willEndCoast

Protected willEndHover

Protected willEndPress

Protected willLongPress

Protected willMovePress

Protected willPress

Protected willStartCoasting

  • willStartCoasting(): void

Protected willStartHovering

  • willStartHovering(): void

Protected willStartInteracting

  • willStartInteracting(): void

Protected willStartPressing

  • willStartPressing(): void

Protected willStopCoasting

  • willStopCoasting(): void

Protected willStopHovering

  • willStopHovering(): void

Protected willStopInteracting

  • willStopInteracting(): void

Protected willStopPressing

  • willStopPressing(): void

xGestures

  • xGestures(): boolean
  • Returns boolean

xScale

  • Returns null | ContinuousScale<X, number>

  • Parameters

    Returns AbstractScaleGesture<X, Y, V>

yGestures

  • yGestures(): boolean
  • Returns boolean

yScale

  • Returns null | ContinuousScale<Y, number>

  • Parameters

    Returns AbstractScaleGesture<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

Generated using TypeDoc