Class MouseRelative
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
MouseRelative is used when relative mouse movement occurs in the window.
C#Copypublic class MouseRelative : Disposable
- Inheritance
Constructors
Declaration
C#Copypublic MouseRelative()
View Source
MouseRelative(MouseRelative.StateType, UInt32, UInt32, Vector2, Vector2)
The constructor.
Declaration
C#Copypublic MouseRelative(MouseRelative.StateType state, uint modifiers, uint timeStamp, Vector2 diffPosition, Vector2 unaccelatedPosition)
Parameters
Type | Name | Description |
---|---|---|
MouseRelative.StateType | state | The state of the event. |
UInt32 | modifiers | Modifier keys pressed during the event (such as Shift, Alt, and Ctrl). |
UInt32 | 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
Declaration
C#Copypublic DeviceClassType DeviceClass { get; }
Property Value
Type | Description |
---|---|
DeviceClassType |
Declaration
C#Copypublic DeviceSubClassType DeviceSubClass { get; }
Property Value
Type | Description |
---|---|
DeviceSubClassType |
Declaration
C#Copypublic 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
C#Copypublic uint Modifiers { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Declaration
C#Copypublic MouseRelative.StateType State { get; }
Property Value
Type | Description |
---|---|
MouseRelative.StateType |
Declaration
C#Copypublic uint TimeStamp { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Declaration
C#Copypublic Vector2 UnaccelatedPosition { 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 |