Свойство | Type | Description | |
---|---|---|---|
B | Byte | ||
G | Byte | ||
R | Byte |
Méthode | Description | |
---|---|---|
Black ( ) : |
Get black color.
|
|
FromGdkColor ( ushort r, ushort g, ushort b ) : |
Froms the color of the GDK color.
|
|
FromRgb ( int r, int g, int b ) : |
Froms the rgb value from int components.
|
|
FromString ( String color ) : |
Converts HEX string or name of the RGB color. For example #123456, blue, red, orange
|
|
IsValidColor ( String color ) : System.Boolean |
Determines if is valid color format of the specified string (#rrggbb).
|
|
RgbColor ( ) : System | ||
ToString ( ) : string |
Returns a string that represents the current object.
|
public static FromGdkColor ( ushort r, ushort g, ushort b ) : |
||
r | ushort | The red component. |
g | ushort | The green component. |
b | ushort | The blue component. |
Résultat |
public static FromRgb ( int r, int g, int b ) : |
||
r | int | The red component. |
g | int | The green component. |
b | int | The blue component. |
Résultat |
public static FromString ( String color ) : |
||
color | String | Color string. |
Résultat |
public static IsValidColor ( String color ) : System.Boolean | ||
color | String | Color. |
Résultat | System.Boolean |