Package apple.uikit

Class UITouch

    • Constructor Detail

      • UITouch

        protected UITouch​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static UITouch alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • altitudeAngle

        public double altitudeAngle()
        Altitude angle. Valid only for stylus touch types. Zero radians indicates that the stylus is parallel to the screen surface, while M_PI/2 radians indicates that it is normal to the screen surface.
      • azimuthAngleInView

        public double azimuthAngleInView​(UIView view)
        Azimuth angle. Valid only for stylus touch types. Zero radians points along the positive X axis. Passing a nil for the view parameter will return the azimuth relative to the touch's window.
      • azimuthUnitVectorInView

        public CGVector azimuthUnitVectorInView​(UIView view)
        A unit vector that points in the direction of the azimuth angle. Valid only for stylus touch types. Passing nil for the view parameter will return a unit vector relative to the touch's window.
      • estimatedProperties

        public long estimatedProperties()
        A set of properties that has estimated values Only denoting properties that are currently estimated
      • estimatedPropertiesExpectingUpdates

        public long estimatedPropertiesExpectingUpdates()
        A set of properties that expect to have incoming updates in the future. If no updates are expected for an estimated property the current value is our final estimate. This happens e.g. for azimuth/altitude values when entering from the edges
      • estimationUpdateIndex

        public NSNumber estimationUpdateIndex()
        An index which allows you to correlate updates with the original touch. Is only guaranteed non-nil if this UITouch expects or is an update.
      • force

        public double force()
        Force of the touch, where 1.0 represents the force of an average touch
      • locationInNode

        public CGPoint locationInNode​(SKNode node)
      • locationInView

        public CGPoint locationInView​(UIView view)
      • majorRadius

        public double majorRadius()
        majorRadius and majorRadiusTolerance are in points The majorRadius will be accurate +/- the majorRadiusTolerance
      • majorRadiusTolerance

        public double majorRadiusTolerance()
      • maximumPossibleForce

        public double maximumPossibleForce()
        Maximum possible force with this input mechanism
      • phase

        public long phase()
      • preciseLocationInView

        public CGPoint preciseLocationInView​(UIView view)
        Use these methods to gain additional precision that may be available from touches. Do not use precise locations for hit testing. A touch may hit test inside a view, yet have a precise location that lies just outside.
      • precisePreviousLocationInView

        public CGPoint precisePreviousLocationInView​(UIView view)
      • previousLocationInNode

        public CGPoint previousLocationInNode​(SKNode node)
      • previousLocationInView

        public CGPoint previousLocationInView​(UIView view)
      • tapCount

        public long tapCount()
        touch down within a certain point within a certain amount of time
      • timestamp

        public double timestamp()
      • type

        public long type()