DK11 for Java | tatukgis.jdk.TGIS_Color.ToString | Fields | Methods | Properties
Converts the color to a hexadecimal string.
// Java public java.lang.String ToString( bool _addAlpha, bool _addHash );
// Oxygene public function ToString( _addAlpha : Boolean = True; _addHash : Boolean = False ) : String;
Name | Type | Description |
---|---|---|
_addAlpha | bool Boolean | if true, the result string will contain an alpha value (this is default); otherwise only RGB values will be returned |
_addHash | bool Boolean | if True, the result string will contain the hash (#) symbol at the beginning; False is default value |
Type | Description |
---|---|
java.lang.String String | Hexadecimal color representation as a string. |