"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var util_1 = require("../util");
var path_1 = (0, tslib_1.__importDefault)(require("./path"));
/**
 * Smooth path mask
 * @ignore
 */
var SmoothPathMask = /** @class */ (function (_super) {
    (0, tslib_1.__extends)(SmoothPathMask, _super);
    function SmoothPathMask() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    // 生成 mask 的路径
    SmoothPathMask.prototype.getMaskPath = function () {
        var points = this.points;
        return (0, util_1.getSpline)(points, true);
    };
    return SmoothPathMask;
}(path_1.default));
exports.default = SmoothPathMask;
//# sourceMappingURL=smooth-path.js.map