MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getFill

Function getFill

libs/echarts/echarts-en.simple.js:8906–8913  ·  view source on GitHub ↗
(fill)

Source from the content-addressed store, hash-verified

8904}
8905
8906function getFill(fill) {
8907 return (fill == null || fill === 'none')
8908 ? null
8909 // TODO pattern and gradient?
8910 : (fill.image || fill.colorStops)
8911 ? '#000'
8912 : fill;
8913}
8914
8915function parsePercent(value, maxValue) {
8916 if (typeof value === 'string') {

Callers 2

renderPlainTextFunction · 0.70
placeTokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected