/*
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, markType } from "igniteui-angular-core";
import { StringBuilder } from "igniteui-angular-core";
/**
 * @hidden
 */
export let TreemapNodeVisualData = /*@__PURE__*/ (() => {
    class TreemapNodeVisualData extends Base {
        constructor() {
            super(...arguments);
            this.c = null;
            this.b = null;
            this.a = null;
        }
        e(a) {
            if (this.c != null) {
                this.c.scaleByViewport(a);
            }
            if (this.b != null) {
                this.b.scaleByViewport(a);
            }
            if (this.a != null) {
                this.a.scaleByViewport(a);
            }
        }
        d() {
            let a = new StringBuilder(0);
            let b = true;
            a.u("{");
            if (this.c != null) {
                if (b) {
                    b = false;
                }
                else {
                    a.l(", ");
                }
                a.l("nodeRect: ");
                a.l(this.c.serialize());
            }
            if (this.b != null) {
                if (b) {
                    b = false;
                }
                else {
                    a.l(", ");
                }
                a.l("headerRect: ");
                a.l(this.b.serialize());
            }
            if (this.a != null) {
                if (b) {
                    b = false;
                }
                else {
                    a.l(", ");
                }
                a.l("label: ");
                a.l(this.a.serialize());
            }
            a.u("");
            a.u("}");
            return a.toString();
        }
    }
    TreemapNodeVisualData.$t = markType(TreemapNodeVisualData, 'TreemapNodeVisualData');
    return TreemapNodeVisualData;
})();
