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