1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 | var util_1 = require("../util");
|
5 | var path_1 = (0, tslib_1.__importDefault)(require("./path"));
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | var SmoothPathMask = (function (_super) {
|
11 | (0, tslib_1.__extends)(SmoothPathMask, _super);
|
12 | function SmoothPathMask() {
|
13 | return _super !== null && _super.apply(this, arguments) || this;
|
14 | }
|
15 |
|
16 | SmoothPathMask.prototype.getMaskPath = function () {
|
17 | var points = this.points;
|
18 | return (0, util_1.getSpline)(points, true);
|
19 | };
|
20 | return SmoothPathMask;
|
21 | }(path_1.default));
|
22 | exports.default = SmoothPathMask;
|
23 |
|
\ | No newline at end of file |