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

Function createClipPath

libs/echarts/echarts-en.simple.js:34745–34756  ·  view source on GitHub ↗
(coordSys, hasAnimation, seriesModel)

Source from the content-addressed store, hash-verified

34743}
34744
34745function createClipPath(coordSys, hasAnimation, seriesModel) {
34746 if (!coordSys) {
34747 return null;
34748 }
34749 else if (coordSys.type === 'polar') {
34750 return createPolarClipPath(coordSys, hasAnimation, seriesModel);
34751 }
34752 else if (coordSys.type === 'cartesian2d') {
34753 return createGridClipPath(coordSys, hasAnimation, seriesModel);
34754 }
34755 return null;
34756}
34757
34758/*
34759* Licensed to the Apache Software Foundation (ASF) under one

Callers 1

Calls 2

createPolarClipPathFunction · 0.70
createGridClipPathFunction · 0.70

Tested by

no test coverage detected