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

Function measureText

libs/echarts/echarts.simple.js:7965–7967  ·  view source on GitHub ↗

* @public * @param {string} text * @param {string} font * @return {Object} width

(text, font)

Source from the content-addressed store, hash-verified

7963 * @return {Object} width
7964 */
7965function measureText(text, font) {
7966 return methods$1.measureText(text, font);
7967}
7968
7969// Avoid assign to an exported variable, for transforming to cjs.
7970methods$1.measureText = function (text, font) {

Callers 1

getWidthFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected