Class GraphicsTypeConverter

    Definition

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

    GraphicsTypeConverter class to convert types.

    public abstract class GraphicsTypeConverter
    Inheritance
    object
    GraphicsTypeConverter
    Derived
    DpTypeConverter
    PointTypeConverter
    SdpTypeConverter
    SpTypeConverter

    Methods

    View Source

    ConvertFromPixel(float)

    Converts px to other type

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

    An converted value from pixel

    View Source

    ConvertScriptToPixel(string)

    Converts script to px

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

    Pixel value that is converted from input string

    View Source

    ConvertToPixel(float)

    Converts other type to px

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

    Pixel value that is converted by the the display matric

    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