Class SrcTgtPointsDataImpl

The user interaction data for mouse-based DnD interactions

Hierarchy

Constructors

Properties

srcData: PointDataImpl
tgtData: PointDataImpl

Accessors

  • get diffClientX(): number
  • The translation vector between the x client position of the source and the y client position of the target.

    Returns number

  • get diffClientY(): number
  • The translation vector between the y client position of the source and the y client position of the target.

    Returns number

  • get diffPageX(): number
  • The translation vector between the x page position of the source and the x page position of the target.

    Returns number

  • get diffPageY(): number
  • The translation vector between the y page position of the source and the y page position of the target.

    Returns number

  • get diffScreenX(): number
  • The translation vector between the x screen position of the source and the x screen position of the target.

    Returns number

  • get diffScreenY(): number
  • The translation vector between the y screen position of the source and the y screen position of the target.

    Returns number

  • get tgt(): T
  • The target point data. At the beginning of the interaction, the target data have the same values as the source data.

    Returns T

Methods

Generated using TypeDoc