Package org.robovm.apple.uikit
Class UITouch
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UITouch
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class UITouch extends NSObject
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UITouch.UITouchPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UITouch()
protected
UITouch(NSObject.Handle h, long handle)
protected
UITouch(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAltitudeAngle()
double
getAzimuthAngleInView(UIView view)
CGVector
getAzimuthUnitVectorInView(UIView view)
UITouchProperties
getEstimatedProperties()
UITouchProperties
getEstimatedPropertiesExpectingUpdates()
NSNumber
getEstimationUpdateIndex()
double
getForce()
NSArray<UIGestureRecognizer>
getGestureRecognizers()
CGPoint
getLocationInNode(SKNode node)
CGPoint
getLocationInView(UIView view)
double
getMajorRadius()
double
getMajorRadiusTolerance()
double
getMaximumPossibleForce()
UITouchPhase
getPhase()
CGPoint
getPreciseLocationInView(UIView view)
CGPoint
getPrecisePreviousLocationInView(UIView view)
CGPoint
getPreviousLocationInNode(SKNode node)
CGPoint
getPreviousLocationInView(UIView view)
long
getTapCount()
double
getTimestamp()
UITouchType
getType()
UIView
getView()
UIWindow
getWindow()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UITouch
public UITouch()
-
UITouch
protected UITouch(NSObject.Handle h, long handle)
-
UITouch
protected UITouch(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getTimestamp
public double getTimestamp()
-
getPhase
public UITouchPhase getPhase()
-
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()
-
getGestureRecognizers
public NSArray<UIGestureRecognizer> getGestureRecognizers()
- Since:
- Available in iOS 3.2 and later.
-
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.
-
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.
-
-