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

Function getLineHeight

libs/echarts/echarts.simple.js:7954–7957  ·  view source on GitHub ↗

* @public * @param {string} font * @return {number} line height

(font)

Source from the content-addressed store, hash-verified

7952 * @return {number} line height
7953 */
7954function getLineHeight(font) {
7955 // FIXME A rough approach.
7956 return getWidth('国', font);
7957}
7958
7959/**
7960 * @public

Callers 2

parsePlainTextFunction · 0.70
parseRichTextFunction · 0.70

Calls 1

getWidthFunction · 0.70

Tested by

no test coverage detected