import { __extends } from "tslib";
import { IgrSplineFragmentBase } from "./igr-spline-fragment-base";
import { SplineAreaFragment } from "./SplineAreaFragment";
/**
 * Represents one part of a StackedSplineAreaSeries.
*/
var IgrSplineAreaFragment = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(IgrSplineAreaFragment, _super);
    function IgrSplineAreaFragment(props) {
        return _super.call(this, props) || this;
    }
    IgrSplineAreaFragment.prototype.createImplementation = function () {
        return new SplineAreaFragment();
    };
    Object.defineProperty(IgrSplineAreaFragment.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgrSplineAreaFragment.prototype, "isAreaOrLine", {
        /**
         * Gets whether the current series shows an area or line shape.
        */
        get: function () {
            return this.i.ea;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgrSplineAreaFragment.prototype, "isArea", {
        /**
         * Gets whether the current series shows an area shape.
        */
        get: function () {
            return this.i.d9;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgrSplineAreaFragment.prototype, "isSpline", {
        /**
         * Gets whether the current series shows a spline shape.
        */
        get: function () {
            return this.i.fe;
        },
        enumerable: false,
        configurable: true
    });
    return IgrSplineAreaFragment;
}(IgrSplineFragmentBase));
export { IgrSplineAreaFragment };
