Class PointerConstraints
Definition
- Assembly:
- Tizen.NUI.dll
PointerConstraints is used when pointer is locked/unlocked
public class PointerConstraints : Disposable
- Inheritance
Constructors
View SourcePointerConstraints()
The default constructor.
Declaration
public PointerConstraints()
PointerConstraints(int, int, bool, bool)
The constructor.
Declaration
public PointerConstraints(int x, int y, bool locked, bool confined)
Parameters
Type | Name | Description |
---|---|---|
int | x | The x coordinate relative to window where event happened. |
int | y | The y coordinate relative to window where event happened. |
bool | locked | The status whether pointer is locked/unlocked. |
bool | confined | The status whether pointer is confined/unconfined. |
Properties
View SourceConfined
Gets the status whether pointer is confined/unconfined.
Declaration
public bool Confined { get; }
Property Value
Type | Description |
---|---|
bool |
Locked
Gets the status whether pointer is locked/unlocked.
Declaration
public bool Locked { get; }
Property Value
Type | Description |
---|---|
bool |
Position
Gets the x, y position,
Declaration
public Position2D Position { get; }
Property Value
Type | Description |
---|---|
Position2D |
Methods
View SourceReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |