Class SdpTypeConverter
Definition
- Assembly:
- Tizen.NUI.dll
Default SdpTypeConverter class to convert dp types.
public sealed class SdpTypeConverter : GraphicsTypeConverter
- Inheritance
Properties
View SourceInstance
An unique Singleton Instance of SdpTypeConverter
Declaration
public static SdpTypeConverter Instance { get; }
Property Value
| Type | Description |
|---|---|
| SdpTypeConverter | Singleton instance of SdpTypeConverter |
Methods
View SourceConvertFromPixel(float)
Converts pixel to Sdp type
Declaration
public override float ConvertFromPixel(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value |
Returns
| Type | Description |
|---|---|
| float | An converted value from pixel |
Overrides
View SourceConvertScriptToPixel(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
View SourceConvertToPixel(float)
Converts Sdp 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 diSdplay matric |