Click or drag to resize

OneTouchRotateGestureRecognizer Properties

The OneTouchRotateGestureRecognizer type exposes the following members.

Properties
  NameDescription
Public propertyAllowSimultaneousExecutionIfPlatformSpecificViewsAreDifferent
Allows simultaneous execution if the platform specific views do no match. Default is true.
(Inherited from GestureRecognizer.)
Public propertyAngleThreshold
Angle threshold in radians that must be met before rotation starts - this is the amount of rotation that must happen to start the gesture. Default is 0.05.
(Inherited from RotateGestureRecognizer.)
Public propertyClearTrackedTouchesOnEndOrFail
Whether tracked touches are cleared when the gesture ends or fails, default is false. By setting to true, you allow the gesture to possibly execute again with a different touch even if the original touch it failed on is still on-going. This is a special case, so be sure to watch for problems if you set this to true, as leaving it false ensures the most correct behavior, especially with lots of gestures at once.
(Inherited from GestureRecognizer.)
Public propertyCurrentTrackedTouches
The current tracked touches for the gesture
(Inherited from GestureRecognizer.)
Public propertyCustomData
Custom data for the gesture that you can attach, or just leave null if you don't need this This is useful if you want to retrieve this in a callback function, but it is not require for the gesture to work properly
(Inherited from GestureRecognizer.)
Public propertyDeltaX
Change in focus x in pixels
(Inherited from GestureRecognizer.)
Public propertyDeltaY
Change in focus y in pixels
(Inherited from GestureRecognizer.)
Public propertyDistanceX
The distance (in pixels) the gesture focus has moved from where it started along the x axis
(Inherited from GestureRecognizer.)
Public propertyDistanceY
The distance (in pixels) the gesture focus has moved from where it started along the y axis
(Inherited from GestureRecognizer.)
Public propertyEnabled
Whether the gesture is Enabled. Default is true.
(Inherited from GestureRecognizer.)
Public propertyFocusX
Focus x value in pixels (average of all touches)
(Inherited from GestureRecognizer.)
Public propertyFocusY
Focus y value in pixels (average of all touches)
(Inherited from GestureRecognizer.)
Public propertyIsRestarting
True if gesture is in process of restarting, false otherwise
(Inherited from GestureRecognizer.)
Public propertyMaximumNumberOfTouchesToTrack
The maximum number of touches to track. This gesture will never track more touches than this. Default is usually 1 or 2. Not all gestures will honor values higher than 1.
(Inherited from GestureRecognizer.)
Public propertyMinimumNumberOfTouchesToTrack
The minimum number of touches to track. This gesture will not start unless this many touches are tracked. Default is usually 1 or 2. Not all gestures will honor values higher than 1.
(Inherited from GestureRecognizer.)
Public propertyPlatformSpecificView
A platform specific view object that this gesture can execute in, null if none
(Inherited from GestureRecognizer.)
Public propertyPlatformSpecificViewScale
The platform specific view scale (default is 1.0). Change this if the view this gesture is attached to is being scaled.
(Inherited from GestureRecognizer.)
Public propertyPressure
Average pressure of all tracked touches
(Inherited from GestureRecognizer.)
Protected propertyPrevFocusX
Previous focus x
(Inherited from GestureRecognizer.)
Protected propertyPrevFocusY
Previous focus y
(Inherited from GestureRecognizer.)
Public propertyReceivedAdditionalTouches
Whether additional touches were added to the gesture since the last execute state.
(Inherited from GestureRecognizer.)
Public propertyRequireGestureRecognizersToFail
If this gesture reaches the EndPending state and the specified gestures fail, this gestures will end. If the specified gesture begins, executes or ends, then this gesture will immediately fail.
(Inherited from GestureRecognizer.)
Public propertyRequireGestureRecognizerToFail
Convenience method to add / remove one gesture to require failure on. Set to null to clear all require gestures to fail.
(Inherited from GestureRecognizer.)
Public propertyResetOnEnd
Whether the gesture should reset when it ends
(Inherited from GestureRecognizer.)
Public propertyRotationDegrees
The current rotation angle in degrees.
(Inherited from RotateGestureRecognizer.)
Public propertyRotationDegreesDelta
The change in rotation degrees.
(Inherited from RotateGestureRecognizer.)
Public propertyRotationRadians
The current rotation angle in radians.
(Inherited from RotateGestureRecognizer.)
Public propertyRotationRadiansDelta
The change in rotation radians.
(Inherited from RotateGestureRecognizer.)
Public propertySpeed
The speed of the gesture in pixels using focus
(Inherited from GestureRecognizer.)
Public propertyStartFocusX
Start focus x value in pixels (average of all touches)
(Inherited from GestureRecognizer.)
Public propertyStartFocusY
Start focus y value in pixels (average of all touches)
(Inherited from GestureRecognizer.)
Public propertyState
Get the current gesture recognizer state
(Inherited from GestureRecognizer.)
Public propertyThresholdUnits
The gesture focus must change distance by this number of units from the start focus in order to start. Default is 0.0.
(Inherited from RotateGestureRecognizer.)
Public propertyTrackedTouchCountIsWithinRange
Whether the current number of tracked touches is within the min and max number of touches to track
(Inherited from GestureRecognizer.)
Public propertyVelocityX
Velocity x in pixels using focus
(Inherited from GestureRecognizer.)
Public propertyVelocityY
Velocity y in pixels using focus
(Inherited from GestureRecognizer.)
Top
See Also