Converts a hex color number to a string.
| Name | Type | Attribute | Description |
|---|---|---|---|
| hex | Number in hex |
{
"comment": "/**\n * Converts a hex color number to a string.\n *\n * @memberof PIXI.utils\n * @function hex2string\n * @param {number} hex - Number in hex\n * @return {string} The string color.\n */",
"meta": {
"range": [
1551,
1730
],
"filename": "index.js",
"lineno": 72,
"path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\utils",
"code": {}
},
"description": "Converts a hex color number to a string.
",
"memberof": "PIXI.utils",
"kind": "function",
"name": "hex2string",
"params": [
{
"type": {
"names": [
"number"
]
},
"description": "Number in hex
",
"name": "hex"
}
],
"returns": [
{
"type": {
"names": [
"string"
]
},
"description": "The string color.
"
}
],
"scope": "static",
"longname": "PIXI.utils.hex2string",
"___id": "T000002R004355",
"___s": true,
"filepath": "core\\utils\\index.js"
}