Class UITouch

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class UITouch
    extends NSObject
    Since:
    Available in iOS 2.0 and later.
    • Method Detail

      • getTimestamp

        public double getTimestamp()
      • getTapCount

        public long getTapCount()
      • getType

        public UITouchType getType()
        Since:
        Available in iOS 9.0 and later.
      • getMajorRadius

        public double getMajorRadius()
        Since:
        Available in iOS 8.0 and later.
      • getMajorRadiusTolerance

        public double getMajorRadiusTolerance()
        Since:
        Available in iOS 8.0 and later.
      • getWindow

        public UIWindow getWindow()
      • getView

        public UIView getView()
      • getForce

        public double getForce()
        Since:
        Available in iOS 9.0 and later.
      • getMaximumPossibleForce

        public double getMaximumPossibleForce()
        Since:
        Available in iOS 9.0 and later.
      • getAltitudeAngle

        public double getAltitudeAngle()
        Since:
        Available in iOS 9.1 and later.
      • getEstimationUpdateIndex

        public NSNumber getEstimationUpdateIndex()
        Since:
        Available in iOS 9.1 and later.
      • getEstimatedProperties

        public UITouchProperties getEstimatedProperties()
        Since:
        Available in iOS 9.1 and later.
      • getEstimatedPropertiesExpectingUpdates

        public UITouchProperties getEstimatedPropertiesExpectingUpdates()
        Since:
        Available in iOS 9.1 and later.
      • getLocationInNode

        public CGPoint getLocationInNode​(SKNode node)
      • getPreviousLocationInNode

        public CGPoint getPreviousLocationInNode​(SKNode node)
      • getLocationInView

        public CGPoint getLocationInView​(UIView view)
      • getPreviousLocationInView

        public CGPoint getPreviousLocationInView​(UIView view)
      • getPreciseLocationInView

        public CGPoint getPreciseLocationInView​(UIView view)
        Since:
        Available in iOS 9.1 and later.
      • getPrecisePreviousLocationInView

        public CGPoint getPrecisePreviousLocationInView​(UIView view)
        Since:
        Available in iOS 9.1 and later.
      • getAzimuthAngleInView

        public double getAzimuthAngleInView​(UIView view)
        Since:
        Available in iOS 9.1 and later.
      • getAzimuthUnitVectorInView

        public CGVector getAzimuthUnitVectorInView​(UIView view)
        Since:
        Available in iOS 9.1 and later.