Class SoLongTapGestureRecognizer

    • Constructor Detail

      • SoLongTapGestureRecognizer

        public SoLongTapGestureRecognizer()
        Constructor.
    • Method Detail

      • getSpatialRestriction

        public int getSpatialRestriction()
        Gets the radius of the limitation circle in which the finger has to stay throughout the gesture. (Default is 60 pixels).
      • setSpatialRestriction

        public void setSpatialRestriction​(int c)
        Sets the radius of the limitation circle in which the finger has to stay throughout the gesture. (Default is 60 pixels)
      • getMinimumLongTapDuration

        public SbTime getMinimumLongTapDuration()
        Gets the minimum duration of a long tap. (Default is 1.5 seconds)
      • setMinimumLongTapDuration

        public void setMinimumLongTapDuration​(SbTime t)
        Sets the minimum duration of a long tap. (Default is 1.5 seconds)