/*
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 { Base, typeCast, markType } from "igniteui-angular-core";
import { CT_EffectProperties } from "./CT_EffectProperties";
import { CT_StyleMatrixReference_DML } from "./CT_StyleMatrixReference_DML";
import { DMLExtensions } from "./DMLExtensions";
import { DrawingMLMain } from "./DrawingMLMain";
/**
 * @hidden
 */
export class EG_ThemeableEffectStyle extends Base {
    constructor() {
        super(...arguments);
        this.a = null;
        this.b = null;
    }
    d(a, b, c, d) {
        if (this.a != null) {
            DMLExtensions.x(this.a, a, b, c, DrawingMLMain.dg);
        }
        if (this.b != null) {
            DMLExtensions.ba(this.b, a, b, c, DrawingMLMain.dj);
        }
    }
    e(a, b) {
        switch (a) {
            case 556:
                this.a = typeCast(CT_EffectProperties.$, b);
                break;
            case 561:
                this.b = typeCast(CT_StyleMatrixReference_DML.$, b);
                break;
            default: break;
        }
    }
    c(a) {
        switch (a) {
            case 556:
            case 561: return true;
        }
        return false;
    }
}
EG_ThemeableEffectStyle.$t = markType(EG_ThemeableEffectStyle, 'EG_ThemeableEffectStyle');
//# sourceMappingURL=EG_ThemeableEffectStyle.js.map