UNPKG

1.48 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 (b.hasOwnProperty(p)) d[p] = b[p]; };
7 return extendStatics(d, b);
8 };
9 return function (d, b) {
10 extendStatics(d, b);
11 function __() { this.constructor = d; }
12 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13 };
14})();
15var __importDefault = (this && this.__importDefault) || function (mod) {
16 return (mod && mod.__esModule) ? mod : { "default": mod };
17};
18Object.defineProperty(exports, "__esModule", { value: true });
19var path_1 = __importDefault(require("@antv/g2/lib/geometry/path"));
20var path_in_1 = require("@antv/g2/lib/animate/animation/path-in");
21var Base_1 = __importDefault(require("./Base"));
22var core_1 = require("../core");
23core_1.registerAnimation('path-in', path_in_1.pathIn);
24core_1.registerGeometry('Path', path_1.default);
25var PathGeom = /** @class */ (function (_super) {
26 __extends(PathGeom, _super);
27 function PathGeom() {
28 var _this = _super !== null && _super.apply(this, arguments) || this;
29 _this.GemoBaseClassName = 'path';
30 return _this;
31 }
32 return PathGeom;
33}(Base_1.default));
34exports.default = PathGeom;
35//# sourceMappingURL=Path.js.map
\No newline at end of file