UNPKG

1.59 kBJavaScriptView Raw
1"use strict";
2var __extends = (this && this.__extends) || (function () {
3 var extendStatics = function (d, b) {
4 extendStatics = Object.setPrototypeOf ||
5 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7 return extendStatics(d, b);
8 };
9 return function (d, b) {
10 if (typeof b !== "function" && b !== null)
11 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12 extendStatics(d, b);
13 function __() { this.constructor = d; }
14 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15 };
16})();
17var __importDefault = (this && this.__importDefault) || function (mod) {
18 return (mod && mod.__esModule) ? mod : { "default": mod };
19};
20Object.defineProperty(exports, "__esModule", { value: true });
21var area_1 = __importDefault(require("@antv/g2/lib/geometry/area"));
22var Base_1 = __importDefault(require("./Base"));
23var core_1 = require("../core");
24require("@antv/g2/lib/geometry/shape/area");
25(0, core_1.registerGeometry)('Area', area_1.default);
26var AreaGeom = /** @class */ (function (_super) {
27 __extends(AreaGeom, _super);
28 function AreaGeom() {
29 var _this = _super !== null && _super.apply(this, arguments) || this;
30 _this.GemoBaseClassName = 'area';
31 return _this;
32 }
33 return AreaGeom;
34}(Base_1.default));
35exports.default = AreaGeom;
36//# sourceMappingURL=Area.js.map
\No newline at end of file