* @function LevelRenderer.Tool.Color.prototype.toHex * @description 转换为16进制颜色。 * @param {string} color - 颜色。 * @returns {string} 16进制颜色,#rrggbb格式
(color)
| 523 | * @returns {string} 16进制颜色,#rrggbb格式 |
| 524 | */ |
| 525 | toHex(color) { |
| 526 | return this.convert(color, 'hex'); |
| 527 | } |
| 528 | |
| 529 | /** |
| 530 | * @function LevelRenderer.Tool.Color.prototype.toHSVA |
no test coverage detected