igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
40 lines (39 loc) • 1.62 kB
JavaScript
/*
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 "./type";
import { IVisualData_$type } from "./IVisualData";
import { StringBuilder } from "./StringBuilder";
/**
* @hidden
*/
export let LabelVisualModelExport = /*@__PURE__*/ (() => {
class LabelVisualModelExport extends Base {
constructor() {
super(...arguments);
this.c = 0;
this.d = 0;
this.e = 0;
this.b = 0;
this.f = null;
this.a = false;
}
serialize() {
let a = new StringBuilder(0);
a.l("{");
a.l("left : " + this.c + ", ");
a.l("top : " + this.d + ", ");
a.l("height : " + this.b + ", ");
a.l("width : " + this.e + ", ");
a.l("text : " + this.f + ", ");
a.l("isWrapEnabled : " + this.a.toString() + ", ");
a.l("}");
return a.toString();
}
}
LabelVisualModelExport.$t = markType(LabelVisualModelExport, 'LabelVisualModelExport', Base.$, [IVisualData_$type]);
return LabelVisualModelExport;
})();