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

Method toHSB

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

* @function LevelRenderer.Tool.Color.prototype.toHSB * @description 转换为HSB颜色。 * @param {string} color - 颜色。 * @returns {string} HSB颜色,hsb(h,s,b)

(color)

Source from the content-addressed store, hash-verified

563 * @returns {string} HSB颜色,hsb(h,s,b)
564 */
565 toHSB(color) {
566 return this.convert(color, 'hsb');
567 }
568
569 /**
570 * @function LevelRenderer.Tool.Color.prototype.toHSLA

Callers 1

ColorSpec.jsFile · 0.80

Calls 1

convertMethod · 0.95

Tested by

no test coverage detected