/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, typeCast, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { CT_PatternFill } from "./CT_PatternFill";
import { CT_GradientFill } from "./CT_GradientFill";
/**
 * @hidden
 */
var CT_Fill = /** @class */ (function (_super) {
    tslib_1.__extends(CT_Fill, _super);
    function CT_Fill() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.b = null;
        _this.a = null;
        return _this;
    }
    CT_Fill.prototype.setProperty = function (a, b) {
        switch (a) {
            case 1175:
                this.b = typeCast(CT_PatternFill.$, b);
                break;
            case 726:
                this.a = typeCast(CT_GradientFill.$, b);
                break;
            default: break;
        }
    };
    CT_Fill.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_Fill.$t = markType(CT_Fill, 'CT_Fill', Base.$, [ISupportSetProperty_$type]);
    return CT_Fill;
}(Base));
export { CT_Fill };
//# sourceMappingURL=CT_Fill.js.map