Function scale

  • Creates a touch-based scale/pinch interaction (two-touch).

    Parameters

    • logger: Logger

      The logger to use for this interaction

    • pxTolerance: number

      The pixel tolerance for considering the scale/pinch (tolerance as the two points must be on the same line).

    Returns (() => Scale)

    The supplier that will produce the interaction when called

Generated using TypeDoc