Class ColorTypeConverter
Definition
- Namespace:
- Tizen.NUI.Binding
- Assembly:
- Tizen.NUI.dll
C#Copypublic class ColorTypeConverter : TypeConverter
- Inheritance
Methods
Declaration
C#Copypublic override object ConvertFromInvariantString(string value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
Object |
Overrides
Declaration
C#Copypublic override string ConvertToString(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value |
Returns
Type | Description |
---|---|
String |
Overrides
Declaration
C#Copypublic static Color FromRgb(int r, int g, int b)
Parameters
Type | Name | Description |
---|---|---|
Int32 | r | |
Int32 | g | |
Int32 | b |
Returns
Type | Description |
---|---|
Color |
Declaration
C#Copypublic static Color FromRgba(int r, int g, int b, int a)
Parameters
Type | Name | Description |
---|---|---|
Int32 | r | |
Int32 | g | |
Int32 | b | |
Int32 | a |
Returns
Type | Description |
---|---|
Color |