Class WGestureEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      WGestureEvent()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      WAbstractEvent createFromJSEvent​(eu.webtoolkit.jwt.JavaScriptEvent jsEvent)
      Internal method.
      double getRotation()
      Returns the number of degrees the user has rotated his/her fingers.
      double getScale()
      Returns the multiplier which the user has pinched or pushed (relative to 1).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WGestureEvent

        public WGestureEvent()
        Default constructor.
    • Method Detail

      • getScale

        public double getScale()
        Returns the multiplier which the user has pinched or pushed (relative to 1).
      • getRotation

        public double getRotation()
        Returns the number of degrees the user has rotated his/her fingers.