Class PointTypeConverter

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Default PointTypeConverter class to convert point types.

    public sealed class PointTypeConverter : GraphicsTypeConverter
    Inheritance
    object
    GraphicsTypeConverter
    PointTypeConverter

    Properties

    View Source

    Instance

    An unique Singleton Instance of PointTypeConverter.

    Declaration
    public static PointTypeConverter Instance { get; }
    Property Value
    Type Description
    PointTypeConverter

    Singleton instance of PointTypeConverter

    Methods

    View Source

    ConvertDpToPoint(float)

    Converts dp type to point type.

    Declaration
    public float ConvertDpToPoint(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Point value that is converted from dp.

    View Source

    ConvertFromPixel(float)

    Converts pixel to point type.

    Declaration
    public override float ConvertFromPixel(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    An converted value from pixel

    Overrides
    GraphicsTypeConverter.ConvertFromPixel(float)
    View Source

    ConvertPointToDp(float)

    Converts point type to dp type.

    Declaration
    public float ConvertPointToDp(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Dp value that is converted from point.

    View Source

    ConvertPointToSdp(float)

    Converts point type to sdp type.

    Declaration
    public float ConvertPointToSdp(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Sdp value that is converted from point.

    View Source

    ConvertPointToSp(float)

    Converts point type to sp type.

    Declaration
    public float ConvertPointToSp(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Sp value that is converted from point.

    View Source

    ConvertScriptToPixel(string)

    Converts script to pixel.

    Declaration
    public override float ConvertScriptToPixel(string scriptValue)
    Parameters
    Type Name Description
    string scriptValue
    Returns
    Type Description
    float

    Pixel value that is converted from input string

    Overrides
    GraphicsTypeConverter.ConvertScriptToPixel(string)
    View Source

    ConvertScriptToPoint(string)

    Converts script to pixel.

    Declaration
    public float ConvertScriptToPoint(string scriptValue)
    Parameters
    Type Name Description
    string scriptValue
    Returns
    Type Description
    float

    Pixel value that is converted from input string

    View Source

    ConvertSdpToPoint(float)

    Converts sdp type to point type.

    Declaration
    public float ConvertSdpToPoint(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Point value that is converted from sdp.

    View Source

    ConvertSpToPoint(float)

    Converts sp type to point type.

    Declaration
    public float ConvertSpToPoint(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Point value that is converted from dp.

    View Source

    ConvertToPixel(float)

    Converts point type to pixel.

    Declaration
    public override float ConvertToPixel(float value)
    Parameters
    Type Name Description
    float value
    Returns
    Type Description
    float

    Pixel value that is converted by the the display matric

    Overrides
    GraphicsTypeConverter.ConvertToPixel(float)

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    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