| 1 |
- {"ast":null,"code":"import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nvar CircleShape = function () {\n function CircleShape() {\n this.cx = 0;\n this.cy = 0;\n this.r = 0;\n }\n return CircleShape;\n}();\nexport { CircleShape };\nvar Circle = function (_super) {\n __extends(Circle, _super);\n function Circle(opts) {\n return _super.call(this, opts) || this;\n }\n Circle.prototype.getDefaultShape = function () {\n return new CircleShape();\n };\n Circle.prototype.buildPath = function (ctx, shape) {\n ctx.moveTo(shape.cx + shape.r, shape.cy);\n ctx.arc(shape.cx, shape.cy, shape.r, 0, Math.PI * 2);\n };\n return Circle;\n}(Path);\n;\nCircle.prototype.type = 'circle';\nexport default Circle;","map":{"version":3,"names":["__extends","Path","CircleShape","cx","cy","r","Circle","_super","opts","call","prototype","getDefaultShape","buildPath","ctx","shape","moveTo","arc","Math","PI","type"],"sources":["E:/git/2021项目/安科院大屏/node_modules/zrender/lib/graphic/shape/Circle.js"],"sourcesContent":["import { __extends } from \"tslib\";\nimport Path from '../Path.js';\nvar CircleShape = (function () {\n function CircleShape() {\n this.cx = 0;\n this.cy = 0;\n this.r = 0;\n }\n return CircleShape;\n}());\nexport { CircleShape };\nvar Circle = (function (_super) {\n __extends(Circle, _super);\n function Circle(opts) {\n return _super.call(this, opts) || this;\n }\n Circle.prototype.getDefaultShape = function () {\n return new CircleShape();\n };\n Circle.prototype.buildPath = function (ctx, shape) {\n ctx.moveTo(shape.cx + shape.r, shape.cy);\n ctx.arc(shape.cx, shape.cy, shape.r, 0, Math.PI * 2);\n };\n return Circle;\n}(Path));\n;\nCircle.prototype.type = 'circle';\nexport default Circle;\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,OAAOC,IAAI,MAAM,YAAY;AAC7B,IAAIC,WAAW,GAAI,YAAY;EAC3B,SAASA,WAAWA,CAAA,EAAG;IACnB,IAAI,CAACC,EAAE,GAAG,CAAC;IACX,IAAI,CAACC,EAAE,GAAG,CAAC;IACX,IAAI,CAACC,CAAC,GAAG,CAAC;EACd;EACA,OAAOH,WAAW;AACtB,CAAC,CAAC,CAAE;AACJ,SAASA,WAAW;AACpB,IAAII,MAAM,GAAI,UAAUC,MAAM,EAAE;EAC5BP,SAAS,CAACM,MAAM,EAAEC,MAAM,CAAC;EACzB,SAASD,MAAMA,CAACE,IAAI,EAAE;IAClB,OAAOD,MAAM,CAACE,IAAI,CAAC,IAAI,EAAED,IAAI,CAAC,IAAI,IAAI;EAC1C;EACAF,MAAM,CAACI,SAAS,CAACC,eAAe,GAAG,YAAY;IAC3C,OAAO,IAAIT,WAAW,CAAC,CAAC;EAC5B,CAAC;EACDI,MAAM,CAACI,SAAS,CAACE,SAAS,GAAG,UAAUC,GAAG,EAAEC,KAAK,EAAE;IAC/CD,GAAG,CAACE,MAAM,CAACD,KAAK,CAACX,EAAE,GAAGW,KAAK,CAACT,CAAC,EAAES,KAAK,CAACV,EAAE,CAAC;IACxCS,GAAG,CAACG,GAAG,CAACF,KAAK,CAACX,EAAE,EAAEW,KAAK,CAACV,EAAE,EAAEU,KAAK,CAACT,CAAC,EAAE,CAAC,EAAEY,IAAI,CAACC,EAAE,GAAG,CAAC,CAAC;EACxD,CAAC;EACD,OAAOZ,MAAM;AACjB,CAAC,CAACL,IAAI,CAAE;AACR;AACAK,MAAM,CAACI,SAAS,CAACS,IAAI,GAAG,QAAQ;AAChC,eAAeb,MAAM","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|