Class Hover
Definition
- Assembly:
- Tizen.NUI.dll
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.
public class Hover : Disposable, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceHover()
The default constructor.
Declaration
public Hover()
Fields
View SourceswigCMemOwn
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Type | Description |
---|---|
bool |
Properties
View SourceTime
The time (in ms) that the hover event occurred.
Declaration
public uint Time { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
View SourceGetDeviceId(uint)
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
public int GetDeviceId(uint point)
Parameters
Type | Name | Description |
---|---|---|
uint | point | The point required. |
Returns
Type | Description |
---|---|
int | The device ID of this point. |
GetHitView(uint)
Retrieves the view that was underneath the point specified.
Declaration
public View GetHitView(uint point)
Parameters
Type | Name | Description |
---|---|---|
uint | point | The point required. |
Returns
Type | Description |
---|---|
View | The view that was underneath the point specified. |
GetLocalPosition(uint)
Retrieves the coordinates relative to the top-left of the hit-view at the point specified.
Declaration
public Vector2 GetLocalPosition(uint point)
Parameters
Type | Name | Description |
---|---|---|
uint | point | The point required. |
Returns
Type | Description |
---|---|
Vector2 | The coordinates relative to the top-left of the hit-view of the point specified. |
GetPointCount()
Returns the total number of points.
Declaration
public uint GetPointCount()
Returns
Type | Description |
---|---|
uint | Total number of points. |
GetScreenPosition(uint)
Retrieves the coordinates relative to the top-left of the screen of the point specified.
Declaration
public Vector2 GetScreenPosition(uint point)
Parameters
Type | Name | Description |
---|---|---|
uint | point | The point required. |
Returns
Type | Description |
---|---|
Vector2 | The coordinates relative to the top-left of the screen of the point specified. |
GetState(uint)
Retrieves the state of the point specified.
Declaration
public PointStateType GetState(uint point)
Parameters
Type | Name | Description |
---|---|---|
uint | point | The point required. |
Returns
Type | Description |
---|---|
PointStateType | The state of the point specified. |