Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
public class RulerPtr : Disposable
- Inheritance
-
Constructors
Declaration
Declaration
Parameters
Type |
Name |
Description |
Ruler |
p |
|
Declaration
public RulerPtr(RulerPtr rhs)
Parameters
Methods
Declaration
Returns
Declaration
Returns
Declaration
public RulerPtr Assign(Ruler rhs)
Parameters
Type |
Name |
Description |
Ruler |
rhs |
|
Returns
Declaration
public RulerPtr Assign(RulerPtr rhs)
Parameters
Returns
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
Returns
Declaration
Declaration
public void DisableDomain()
Declaration
Declaration
Returns
Declaration
public RulerDomain GetDomain()
Returns
Declaration
public uint GetPageFromPosition(float position, bool wrap)
Parameters
Returns
View Source
GetPositionFromPage(UInt32, out UInt32, Boolean)
Declaration
public float GetPositionFromPage(uint page, out uint volume, bool wrap)
Parameters
Returns
Declaration
public uint GetTotalPages()
Returns
Declaration
public Ruler.RulerType GetType()
Returns
Declaration
Returns
Declaration
Declaration
public int ReferenceCount()
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
Declaration
public void Reset(Ruler rhs)
Parameters
Type |
Name |
Description |
Ruler |
rhs |
|
Declaration
public void SetDomain(RulerDomain domain)
Parameters
Declaration
public float Snap(float x)
Parameters
Type |
Name |
Description |
Single |
x |
|
Returns
Declaration
public 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
Declaration
public void Unreference()
Extension Methods