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

Method toRGB

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

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

(color)

Source from the content-addressed store, hash-verified

513 * @returns {string} 颜色。
514 */
515 toRGB(color) {
516 return this.convert(color, 'rgb');
517 }
518
519 /**
520 * @function LevelRenderer.Tool.Color.prototype.toHex

Callers 3

liftMethod · 0.95
ColorSpec.jsFile · 0.80
getHighlightStyleMethod · 0.80

Calls 1

convertMethod · 0.95

Tested by

no test coverage detected