* @function LevelRenderer.Tool.Color.prototype.toHSVA * @description 转换为HSV颜色。 * @param {string} color - 颜色。 * @returns {string} HSVA颜色,hsva(h,s,v,a)
(color)
| 533 | * @returns {string} HSVA颜色,hsva(h,s,v,a) |
| 534 | */ |
| 535 | toHSVA(color) { |
| 536 | return this.convert(color, 'hsva'); |
| 537 | } |
| 538 | |
| 539 | /** |
| 540 | * @function LevelRenderer.Tool.Color.prototype.toHSV |