Class MouseRelative

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    MouseRelative is used when relative mouse movement occurs in the window.

    public class MouseRelative : Disposable
    Inheritance
    object
    Disposable
    MouseRelative

    Constructors

    View Source

    MouseRelative()

    The default constructor.

    Declaration
    public MouseRelative()
    View Source

    MouseRelative(StateType, uint, uint, Vector2, Vector2)

    The constructor.

    Declaration
    public MouseRelative(MouseRelative.StateType state, uint modifiers, uint timeStamp, Vector2 diffPosition, Vector2 unaccelatedPosition)
    Parameters
    Type Name Description
    MouseRelative.StateType state

    The state of the event.

    uint modifiers

    Modifier keys pressed during the event (such as Shift, Alt, and Ctrl).

    uint timeStamp

    The time the event is being started.

    Vector2 diffPosition

    The coordinates of the cursor relative to the top-left of the screen.

    Vector2 unaccelatedPosition

    The coordinates of the cursor relative to the top-left of the screen.

    Properties

    View Source

    DeviceClass

    Gets the device class the mouse relative event originated from.

    Declaration
    public DeviceClassType DeviceClass { get; }
    Property Value
    Type Description
    DeviceClassType
    View Source

    DeviceSubClass

    Gets the device subclass the mouse relative event originated from.

    Declaration
    public DeviceSubClassType DeviceSubClass { get; }
    Property Value
    Type Description
    DeviceSubClassType
    View Source

    DiffPosition

    Gets the diff postion (accelated - default)

    Declaration
    public Vector2 DiffPosition { get; }
    Property Value
    Type Description
    Vector2
    View Source

    Modifiers

    Gets the modifier keys pressed during the event (such as Shift, Alt, and Ctrl).

    Declaration
    public uint Modifiers { get; }
    Property Value
    Type Description
    uint
    View Source

    State

    Gets the state of the mouse relative event.

    Declaration
    public MouseRelative.StateType State { get; }
    Property Value
    Type Description
    MouseRelative.StateType
    View Source

    TimeStamp

    Gets the time the mouse relative evnet is being started

    Declaration
    public uint TimeStamp { get; }
    Property Value
    Type Description
    uint
    View Source

    UnaccelatedPosition

    Gets the unaccelated postion (accelated - default)

    Declaration
    public Vector2 UnaccelatedPosition { 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
    Disposable.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Extension Methods

    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