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.

    public class RotationGesture : Gesture, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Gesture
    RotationGesture
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    RotationGesture(StateType)

    The default constructor.

    Declaration
    public 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
    public 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
    public float Rotation { get; }
    Property Value
    Type Description
    float
    View Source

    ScreenCenterPoint

    The center point of the two points that caused the rotation gesture in screen coordinates.

    Declaration
    public Vector2 ScreenCenterPoint { get; }
    Property Value
    Type Description
    Vector2

    Methods

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    Gesture.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX