Sha256: eb4f61ce3b9becc9af146859a9f30e283ad91ce3b8aab05c8cfa5d2589d947d0
Contents?: true
Size: 438 Bytes
Versions: 2
Compression:
Stored size: 438 Bytes
Contents
// 由于大多数shape默认的isCover都是相同的逻辑 // 所以在echarts里临时抽象一个module,用于isCover method // TODO: 对zrender的isCover和getRect方法进行抽象,重新整理该逻辑 define(function () { return function (x, y) { var originPos = this.transformCoordToLocal(x, y); x = originPos[0]; y = originPos[1]; return this.isCoverRect(x, y); }; });
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
admin-sys-1.1.0 | plugins/report/public/echarts2/doc/echarts/util/shape/normalIsCover.js |
admin-sys-1.1.0 | plugins/report/public/echarts2/src/util/shape/normalIsCover.js |