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