Class Ruler
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
public class Ruler : RefObject
- Inheritance
-
- Derived
-
Methods
View Source
Clamp(float, float, float)
Declaration
public float Clamp(float x, float length, float scale)
Parameters
| Type |
Name |
Description |
| float |
x |
|
| float |
length |
|
| float |
scale |
|
Returns
View Source
Clamp(float, float)
Declaration
public float Clamp(float x, float length)
Parameters
| Type |
Name |
Description |
| float |
x |
|
| float |
length |
|
Returns
View Source
Clamp(float)
Declaration
public float Clamp(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
View Source
Disable()
Declaration
View Source
DisableDomain()
Declaration
public void DisableDomain()
View Source
Enable()
Declaration
View Source
GetDomain()
Declaration
public RulerDomain GetDomain()
Returns
View Source
GetPageFromPosition(float, bool)
Declaration
public virtual uint GetPageFromPosition(float position, bool wrap)
Parameters
| Type |
Name |
Description |
| float |
position |
|
| bool |
wrap |
|
Returns
View Source
GetPositionFromPage(uint, out uint, bool)
Declaration
public virtual float GetPositionFromPage(uint page, out uint volume, bool wrap)
Parameters
| Type |
Name |
Description |
| uint |
page |
|
| uint |
volume |
|
| bool |
wrap |
|
Returns
View Source
GetTotalPages()
Declaration
public virtual uint GetTotalPages()
Returns
View Source
GetType()
Declaration
public Ruler.RulerType GetType()
Returns
View Source
IsEnabled()
Declaration
Returns
View Source
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type |
Name |
Description |
| System.Runtime.InteropServices.HandleRef |
swigCPtr |
|
Overrides
View Source
SetDomain(RulerDomain)
Declaration
public void SetDomain(RulerDomain domain)
Parameters
View Source
Snap(float, float)
Declaration
public virtual float Snap(float x, float bias)
Parameters
| Type |
Name |
Description |
| float |
x |
|
| float |
bias |
|
Returns
View Source
Snap(float)
Declaration
public virtual float Snap(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
View Source
SnapAndClamp(float, float, float, float)
Declaration
public float SnapAndClamp(float x, float bias, float length, float scale)
Parameters
| Type |
Name |
Description |
| float |
x |
|
| float |
bias |
|
| float |
length |
|
| float |
scale |
|
Returns
View Source
SnapAndClamp(float, float, float)
Declaration
public float SnapAndClamp(float x, float bias, float length)
Parameters
| Type |
Name |
Description |
| float |
x |
|
| float |
bias |
|
| float |
length |
|
Returns
View Source
SnapAndClamp(float, float)
Declaration
public float SnapAndClamp(float x, float bias)
Parameters
| Type |
Name |
Description |
| float |
x |
|
| float |
bias |
|
Returns
View Source
SnapAndClamp(float)
Declaration
public float SnapAndClamp(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Extension Methods