Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
GraphicsTypeManager class to manage various types.
public class GraphicsTypeManager : object
- Inheritance
-
Fields
View Source
DensityHigh
Constant of high(240) density dpi.
Declaration
public const ushort DensityHigh = null
Field Value
View Source
DensityLow
Constant of low(120) density dpi.
Declaration
public const ushort DensityLow = null
Field Value
View Source
DensityMedium
Constant of medium(160) density dpi. Baseline dpi.
Declaration
public const ushort DensityMedium = null
Field Value
View Source
DensityXHigh
Constant of extra high(320) density dpi.
Declaration
public const ushort DensityXHigh = null
Field Value
View Source
DensityXXHigh
Constant of double extra high(480) density dpi.
Declaration
public const ushort DensityXXHigh = null
Field Value
View Source
DensityXXXHigh
Constant of triple extra high(640) density dpi.
Declaration
public const ushort DensityXXXHigh = null
Field Value
Properties
View Source
BaselineDpi
Default baseline dpi. Medium(160) density dpi is origianlly provided.
Declaration
public int BaselineDpi { get; }
Property Value
Declaration
public float Density { get; }
Property Value
Declaration
public DpTypeConverter Dp { get; set; }
Property Value
Declaration
Property Value
View Source
Instance
An unique Singleton Instance of GraphicsTypeManager
Declaration
public static GraphicsTypeManager Instance { get; }
Property Value
Declaration
public PointTypeConverter Point { get; set; }
Property Value
Declaration
public float ScaledDensity { get; }
Property Value
View Source
ScaledDpi
Scaled Dpi for GraphicsTypeManager.
ScaledDpi is scaled from Dpi with custom ScalingFactor.
Declaration
public int ScaledDpi { get; }
Property Value
View Source
ScalingFactor
Custom scale factor of display metrics.
ScalingFactor scale ScaledDpi on Dpi.
Declaration
public float ScalingFactor { get; }
Property Value
Declaration
public SpTypeConverter Sp { get; set; }
Property Value
Methods
View Source
ConvertScriptToPixel(String)
Converts script to pixel.
Declaration
public float ConvertScriptToPixel(string scriptValue)
Parameters
Type |
Name |
Description |
String |
scriptValue |
|
Returns
Type |
Description |
Single |
Pixel value that is converted from input string
|
Extension Methods