UNPKG

1.64 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 line_1 = __importDefault(require("@antv/g2/lib/geometry/line"));
22require("@antv/g2/lib/geometry/shape/line/step");
23var Base_1 = __importDefault(require("./Base"));
24var core_1 = require("../core");
25require("@antv/g2/lib/geometry/shape/line/step");
26(0, core_1.registerGeometry)('Line', line_1.default);
27var LineGeom = /** @class */ (function (_super) {
28 __extends(LineGeom, _super);
29 function LineGeom() {
30 var _this = _super !== null && _super.apply(this, arguments) || this;
31 _this.GemoBaseClassName = 'line';
32 return _this;
33 }
34 return LineGeom;
35}(Base_1.default));
36exports.default = LineGeom;
37//# sourceMappingURL=Line.js.map
\No newline at end of file