Class MouseRelative
Definition
- Assembly:
- Tizen.NUI.dll
MouseRelative is used when relative mouse movement occurs in the window.
public class MouseRelative : Disposable
- Inheritance
Constructors
View SourceMouseRelative()
The default constructor.
Declaration
public MouseRelative()
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 SourceDeviceClass
Gets the device class the mouse relative event originated from.
Declaration
public DeviceClassType DeviceClass { get; }
Property Value
| Type | Description |
|---|---|
| DeviceClassType |
DeviceSubClass
Gets the device subclass the mouse relative event originated from.
Declaration
public DeviceSubClassType DeviceSubClass { get; }
Property Value
| Type | Description |
|---|---|
| DeviceSubClassType |
DiffPosition
Gets the diff postion (accelated - default)
Declaration
public Vector2 DiffPosition { get; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
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 |
State
Gets the state of the mouse relative event.
Declaration
public MouseRelative.StateType State { get; }
Property Value
| Type | Description |
|---|---|
| MouseRelative.StateType |
TimeStamp
Gets the time the mouse relative evnet is being started
Declaration
public uint TimeStamp { get; }
Property Value
| Type | Description |
|---|---|
| uint |
UnaccelatedPosition
Gets the unaccelated postion (accelated - default)
Declaration
public Vector2 UnaccelatedPosition { get; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
Methods
View SourceReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.InteropServices.HandleRef | swigCPtr |