Class ScaleTouchDataImpl

The implementation of the scale/pinch interaction data.

Hierarchy

Implements

Constructors

Properties

Accessors

Methods

  • Parameters

    • point1: [number, number]

      The first point

    • point2: [number, number]

      The second point

    Returns number

    the distance between point1 and point2

  • Parameters

    • vector1: [number, number]

      The first vector of the projection

    • vector2: [number, number]

      The second vector of the projection

    Returns number

    The value of the projection of vector1 on vector2

Generated using TypeDoc