Class GraphicsTypeConverter
Definition
- Assembly:
- Tizen.NUI.dll
GraphicsTypeConverter class to convert types.
public abstract class GraphicsTypeConverter
- Inheritance
-
objectGraphicsTypeConverter
- Derived
-
Tizen.NUI.SdpTypeConverterTizen.NUI.SdpTypeConverter
Methods
View SourceConvertFromPixel(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 |
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 |
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 |