Class GraphicsTypeConverter

Definition

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

GraphicsTypeConverter class to convert types.

C#
Copy
public abstract class GraphicsTypeConverter : object
Inheritance
GraphicsTypeConverter
Derived

Methods

View Source

ConvertFromPixel(Single)

Converts px to other type

Declaration
C#
Copy
public virtual float ConvertFromPixel(float value)
Parameters
Type Name Description
Single value
Returns
Type Description
Single

An converted value from pixel

View Source

ConvertScriptToPixel(String)

Converts script to px

Declaration
C#
Copy
public virtual float ConvertScriptToPixel(string scriptValue)
Parameters
Type Name Description
String scriptValue
Returns
Type Description
Single

Pixel value that is converted from input string

View Source

ConvertToPixel(Single)

Converts other type to px

Declaration
C#
Copy
public virtual float ConvertToPixel(float value)
Parameters
Type Name Description
Single value
Returns
Type Description
Single

Pixel value that is converted by the the display matric

Extension Methods