Sha256: d0dd4134baa67c0ca41c0408f0b336f4c293d3eda819281f74bb80f492344dbe
Contents?: true
Size: 425 Bytes
Versions: 6
Compression:
Stored size: 425 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
6 entries across 3 versions & 1 rubygems