import * as tslib_1 from "tslib";
import { IgrSplineSeriesBase } from "./igr-spline-series-base";
import { toPoint, fromPoint } from "igniteui-react-core";
/**
 * Represents one part in a StackedSplineSeries or StackedSplineAreaSeries.
*/
var IgrSplineFragmentBase = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(IgrSplineFragmentBase, _super);
    function IgrSplineFragmentBase(props) {
        return _super.call(this, props) || this;
    }
    Object.defineProperty(IgrSplineFragmentBase.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgrSplineFragmentBase.prototype, "isFragment", {
        /**
         * Gets whether the current series is a stack fragment.
        */
        get: function () {
            return this.i.c7;
        },
        enumerable: true,
        configurable: true
    });
    IgrSplineFragmentBase.prototype.getSeriesValuePosition = function (world, useInterpolation, skipUnknowns) {
        var iv = this.i.nt(toPoint(world), useInterpolation, skipUnknowns);
        return fromPoint(iv);
    };
    return IgrSplineFragmentBase;
}(IgrSplineSeriesBase));
export { IgrSplineFragmentBase };
//# sourceMappingURL=igr-spline-fragment-base.js.map
