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

Function needDrawBackground

libs/echarts/echarts.simple.js:8763–8768  ·  view source on GitHub ↗
(style)

Source from the content-addressed store, hash-verified

8761}
8762
8763function needDrawBackground(style) {
8764 return !!(
8765 style.textBackgroundColor
8766 || (style.textBorderWidth && style.textBorderColor)
8767 );
8768}
8769
8770// style: {textBackgroundColor, textBorderWidth, textBorderColor, textBorderRadius, text}
8771// shape: {x, y, width, height}

Callers 3

renderPlainTextFunction · 0.70
drawRichTextFunction · 0.70
placeTokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected