Class Hover
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
Hover events are a collection of points at a specific moment in time.
When a multi-event occurs, each point represents the points that are currently being
hovered or the points where a hover has stopped.
C#Copypublic class Hover : Disposable, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic Hover()
API Level: 3
Fields
Declaration
C#Copyprotected bool swigCMemOwn
Field Value
Type | Description |
---|---|
System.Boolean |
API Level: 3
Properties
Declaration
C#Copypublic uint Time { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
API Level: 3
Methods
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
API Level: 3
GetDeviceId(UInt32)
Returns the ID of the device used for the point specified.
Each point has a unique device ID which specifies the device used for that
point. This is returned by this method.
Declaration
C#Copypublic int GetDeviceId(uint point)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | point | The point required. |
Returns
Type | Description |
---|---|
System.Int32 | The device ID of this point. |
API Level: 3
Declaration
C#Copypublic View GetHitView(uint point)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | point | The point required. |
Returns
Type | Description |
---|---|
View | The view that was underneath the point specified. |
API Level: 3
GetLocalPosition(UInt32)
Retrieves the coordinates relative to the top-left of the hit-view at the point specified.
Declaration
C#Copypublic Vector2 GetLocalPosition(uint point)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | point | The point required. |
Returns
Type | Description |
---|---|
Vector2 | The coordinates relative to the top-left of the hit-view of the point specified. |
API Level: 3
Declaration
C#Copypublic uint GetPointCount()
Returns
Type | Description |
---|---|
System.UInt32 | Total number of points. |
API Level: 3
GetScreenPosition(UInt32)
Retrieves the coordinates relative to the top-left of the screen of the point specified.
Declaration
C#Copypublic Vector2 GetScreenPosition(uint point)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | point | The point required. |
Returns
Type | Description |
---|---|
Vector2 | The coordinates relative to the top-left of the screen of the point specified. |
API Level: 3
Declaration
C#Copypublic PointStateType GetState(uint point)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | point | The point required. |
Returns
Type | Description |
---|---|
PointStateType | The state of the point specified. |