Class RotationGesture
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
A RotationGesture is emitted when the user moves two fingers in a circular motion.
A rotation gesture will continue to be sent to the actor under the center point of the rotation until the rotation ends.
C#Copypublic class RotationGesture : Gesture, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic RotationGesture(Gesture.StateType state)
Parameters
Type | Name | Description |
---|---|---|
Gesture.StateType | state | The state of the gesture. |
Properties
View Source
LocalCenterPoint
The center point of the two points that caused the rotation gesture in local view coordinates.
Declaration
C#Copypublic Vector2 LocalCenterPoint { get; }
Property Value
Type | Description |
---|---|
Vector2 |
View Source
Rotation
The overall rotation (in radians) from the start of the rotation gesture till the latest rotation gesture.
Declaration
C#Copypublic float Rotation { get; }
Property Value
Type | Description |
---|---|
Single |
View Source
ScreenCenterPoint
The center point of the two points that caused the rotation gesture in screen coordinates.
Declaration
C#Copypublic Vector2 ScreenCenterPoint { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Methods
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |