Class Ruler

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll
    public class Ruler : RefObject
    Inheritance
    object
    Disposable
    RefObject
    Ruler
    Derived
    DefaultRuler
    DefaultRuler
    FixedRuler
    FixedRuler

    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
    Type Description
    float
    View Source

    Clamp(float, float)

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

    Clamp(float)

    Declaration
    public float Clamp(float x)
    Parameters
    Type Name Description
    float x
    Returns
    Type Description
    float
    View Source

    Disable()

    Declaration
    public void Disable()
    View Source

    DisableDomain()

    Declaration
    public void DisableDomain()
    View Source

    Enable()

    Declaration
    public void Enable()
    View Source

    GetDomain()

    Declaration
    public RulerDomain GetDomain()
    Returns
    Type Description
    RulerDomain
    View Source

    GetPageFromPosition(float, bool)

    Declaration
    public virtual uint GetPageFromPosition(float position, bool wrap)
    Parameters
    Type Name Description
    float position
    bool wrap
    Returns
    Type Description
    uint
    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
    Type Description
    float
    View Source

    GetTotalPages()

    Declaration
    public virtual uint GetTotalPages()
    Returns
    Type Description
    uint
    View Source

    GetType()

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

    IsEnabled()

    Declaration
    public bool IsEnabled()
    Returns
    Type Description
    bool
    View Source

    ReleaseSwigCPtr(HandleRef)

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

    SetDomain(RulerDomain)

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

    Snap(float, float)

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

    Snap(float)

    Declaration
    public virtual float Snap(float x)
    Parameters
    Type Name Description
    float x
    Returns
    Type Description
    float
    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
    Type Description
    float
    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
    Type Description
    float
    View Source

    SnapAndClamp(float, float)

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

    SnapAndClamp(float)

    Declaration
    public float SnapAndClamp(float x)
    Parameters
    Type Name Description
    float x
    Returns
    Type Description
    float

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX