Inherits from JavaScript Object

Overview

The Touch class represents a single touch on the surface.

Overview of Tasks

Attributes

  • Name
  • clientX

    The x-coordinate of the touch’s location in OpenGL view’s viewport

  • clientY

    The y-coordinate of the touch’s location in OpenGL view’s viewport

  • identifier

    The unique identifier for this touch object.

  • pageX
  • pageY
  • screenX

    The x-coordinate of the touch’s location in screen coordinates.

  • screenY

    The y-coordinate of the touch’s location in screen coordinates.

  • target

    The target of this touch.

  • Type
  • int
  • int
  • int
  • int
  • int
  • int
  • int
  • Node
  • Writability
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly

Attributes

clientX

The x-coordinate of the touch’s location in OpenGL view’s viewport

readonly int clientX

clientY

The y-coordinate of the touch’s location in OpenGL view’s viewport

readonly int clientY

identifier

The unique identifier for this touch object.

readonly int identifier

pageX

readonly int pageX

pageY

readonly int pageY

screenX

The x-coordinate of the touch’s location in screen coordinates.

readonly int screenX

screenY

The y-coordinate of the touch’s location in screen coordinates.

readonly int screenY

target

The target of this touch.

readonly Node target