MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / toRGBA

Method toRGBA

src/common/overlay/levelRenderer/Color.js:505–507  ·  view source on GitHub ↗

* @function LevelRenderer.Tool.Color.prototype.toRGBA * @description 转换为rgba格式的颜色。 * @param {string} color - 颜色。 * @returns {string} 颜色。

(color)

Source from the content-addressed store, hash-verified

503 * @returns {string} 颜色。
504 */
505 toRGBA(color) {
506 return this.convert(color, 'rgba');
507 }
508
509 /**
510 * @function LevelRenderer.Tool.Color.prototype.toRGB

Callers 7

getStepColorsMethod · 0.95
toArrayMethod · 0.95
reverseMethod · 0.95
mixMethod · 0.95
alphaMethod · 0.95
string2RGBADataFunction · 0.45
getStepColorsMethod · 0.45

Calls 1

convertMethod · 0.95

Tested by

no test coverage detected