Class Ruler

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
C#
Copy
public class Ruler : RefObject
Inheritance
Derived

Methods

View Source

Clamp(Single)

Declaration
C#
Copy
public float Clamp(float x)
Parameters
Type Name Description
Single x
Returns
Type Description
Single
View Source

Clamp(Single, Single)

Declaration
C#
Copy
public float Clamp(float x, float length)
Parameters
Type Name Description
Single x
Single length
Returns
Type Description
Single
View Source

Clamp(Single, Single, Single)

Declaration
C#
Copy
public float Clamp(float x, float length, float scale)
Parameters
Type Name Description
Single x
Single length
Single scale
Returns
Type Description
Single
View Source

Disable()

Declaration
C#
Copy
public void Disable()
View Source

DisableDomain()

Declaration
C#
Copy
public void DisableDomain()
View Source

Enable()

Declaration
C#
Copy
public void Enable()
View Source

GetDomain()

Declaration
C#
Copy
public RulerDomain GetDomain()
Returns
Type Description
RulerDomain
View Source

GetPageFromPosition(Single, Boolean)

Declaration
C#
Copy
public virtual uint GetPageFromPosition(float position, bool wrap)
Parameters
Type Name Description
Single position
Boolean wrap
Returns
Type Description
UInt32
View Source

GetPositionFromPage(UInt32, out UInt32, Boolean)

Declaration
C#
Copy
public virtual float GetPositionFromPage(uint page, out uint volume, bool wrap)
Parameters
Type Name Description
UInt32 page
UInt32 volume
Boolean wrap
Returns
Type Description
Single
View Source

GetTotalPages()

Declaration
C#
Copy
public virtual uint GetTotalPages()
Returns
Type Description
UInt32
View Source

GetType()

Declaration
C#
Copy
public Ruler.RulerType GetType()
Returns
Type Description
Ruler.RulerType
View Source

IsEnabled()

Declaration
C#
Copy
public bool IsEnabled()
Returns
Type Description
Boolean
View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

SetDomain(RulerDomain)

Declaration
C#
Copy
public void SetDomain(RulerDomain domain)
Parameters
Type Name Description
RulerDomain domain
View Source

Snap(Single)

Declaration
C#
Copy
public virtual float Snap(float x)
Parameters
Type Name Description
Single x
Returns
Type Description
Single
View Source

Snap(Single, Single)

Declaration
C#
Copy
public virtual float Snap(float x, float bias)
Parameters
Type Name Description
Single x
Single bias
Returns
Type Description
Single
View Source

SnapAndClamp(Single)

Declaration
C#
Copy
public float SnapAndClamp(float x)
Parameters
Type Name Description
Single x
Returns
Type Description
Single
View Source

SnapAndClamp(Single, Single)

Declaration
C#
Copy
public float SnapAndClamp(float x, float bias)
Parameters
Type Name Description
Single x
Single bias
Returns
Type Description
Single
View Source

SnapAndClamp(Single, Single, Single)

Declaration
C#
Copy
public float SnapAndClamp(float x, float bias, float length)
Parameters
Type Name Description
Single x
Single bias
Single length
Returns
Type Description
Single
View Source

SnapAndClamp(Single, Single, Single, Single)

Declaration
C#
Copy
public float SnapAndClamp(float x, float bias, float length, float scale)
Parameters
Type Name Description
Single x
Single bias
Single length
Single scale
Returns
Type Description
Single

Extension Methods