translationY property

Translation along y-axis from the last MSGestureEvent of the interaction.

This property is read-only.

Syntax

JavaScript
fTranslation = object.translationY

Property values

Type: Floating-point

Translation value

Remarks

When gesture is moving down, values are returned as positive numbers. When moving up, values are returned as negative numbers.

See also

MSGestureEvent

 

 

Show:
© 2014 Microsoft