Class GraphicsTypeManager

    Definition

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

    GraphicsTypeManager class to manage various types.

    public class GraphicsTypeManager
    Inheritance
    object
    GraphicsTypeManager

    Fields

    View Source

    DensityHigh

    Constant of high(240) density dpi.

    Declaration
    public const ushort DensityHigh
    Field Value
    Type Description
    ushort
    View Source

    DensityLow

    Constant of low(120) density dpi.

    Declaration
    public const ushort DensityLow
    Field Value
    Type Description
    ushort
    View Source

    DensityMedium

    Constant of medium(160) density dpi. Baseline dpi.

    Declaration
    public const ushort DensityMedium
    Field Value
    Type Description
    ushort
    View Source

    DensityXHigh

    Constant of extra high(320) density dpi.

    Declaration
    public const ushort DensityXHigh
    Field Value
    Type Description
    ushort
    View Source

    DensityXXHigh

    Constant of double extra high(480) density dpi.

    Declaration
    public const ushort DensityXXHigh
    Field Value
    Type Description
    ushort
    View Source

    DensityXXXHigh

    Constant of triple extra high(640) density dpi.

    Declaration
    public const ushort DensityXXXHigh
    Field Value
    Type Description
    ushort

    Properties

    View Source

    BaselineDpi

    Default baseline dpi. Medium(160) density dpi is origianlly provided.

    Declaration
    public int BaselineDpi { get; }
    Property Value
    Type Description
    int
    View Source

    Density

    Density of display.

    Declaration
    public float Density { get; }
    Property Value
    Type Description
    float
    View Source

    Dp

    Default DpTypeConverter. use this Converter to convert Dp to/from other types. See DpTypeConverter.

    Declaration
    public DpTypeConverter Dp { get; set; }
    Property Value
    Type Description
    DpTypeConverter
    View Source

    Dpi

    Dot per Inch value from system. See Vector Dpi in Window also.

    Declaration
    public int Dpi { get; }
    Property Value
    Type Description
    int
    View Source

    Instance

    An unique Singleton Instance of GraphicsTypeManager

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

    Singleton instance of GraphicsTypeManager

    View Source

    Point

    Default PointTypeConverter. use this Converter to convert Point to/from other types. See PointTypeConverter.

    Declaration
    public PointTypeConverter Point { get; set; }
    Property Value
    Type Description
    PointTypeConverter
    View Source

    ScaledDensity

    Scaled Density of display.

    Declaration
    public float ScaledDensity { get; }
    Property Value
    Type Description
    float
    View Source

    ScaledDpi

    Scaled Dpi for GraphicsTypeManager. ScaledDpi is scaled from Dpi with custom ScalingFactor.

    Declaration
    public int ScaledDpi { get; }
    Property Value
    Type Description
    int
    View Source

    ScalingFactor

    Custom scale factor of display metrics. ScalingFactor scale ScaledDpi on Dpi.

    Declaration
    public float ScalingFactor { get; }
    Property Value
    Type Description
    float
    View Source

    Sp

    Default SpTypeConverter. use this Converter to convert Sp to/from other types. See SpTypeConverter.

    Declaration
    public SpTypeConverter Sp { get; set; }
    Property Value
    Type Description
    SpTypeConverter

    Methods

    View Source

    ConvertScriptToPixel(string)

    Converts script to pixel.

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

    Pixel value that is converted from input string

    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