* @function LevelRenderer.Tool.Color.prototype.toRGBA * @description 转换为rgba格式的颜色。 * @param {string} color - 颜色。 * @returns {string} 颜色。
(color)
| 503 | * @returns {string} 颜色。 |
| 504 | */ |
| 505 | toRGBA(color) { |
| 506 | return this.convert(color, 'rgba'); |
| 507 | } |
| 508 | |
| 509 | /** |
| 510 | * @function LevelRenderer.Tool.Color.prototype.toRGB |
no test coverage detected