UNPKG

igniteui-angular-inputs

Version:

Ignite UI Angular input components for building rich data visualizations for modern web apps.

62 lines (61 loc) 2.26 kB
/* 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"; import { stringIsNullOrEmpty } from "igniteui-angular-core"; import { isNaN_ } from "igniteui-angular-core"; /** * @hidden */ export class TextBlockVisualModelExport extends Base { constructor() { super(...arguments); this.c = 0; this.e = 0; this.f = 0; this.b = 0; this.a = null; this.k = null; this.l = null; this.m = null; this.d = 0; this.i = null; this.j = null; this.h = null; } static { this.$t = markType(TextBlockVisualModelExport, 'TextBlockVisualModelExport'); } g() { let a = new StringBuilder(0); a.m("{"); a.m("left: " + this.c + ", "); a.m("top: " + this.e + ", "); a.m("width: " + this.f + ", "); a.m("height: " + this.b + ", "); a.m("text : \"" + this.h + "\", "); a.m("actualTextColor: " + this.a.serialize() + ", "); if (!stringIsNullOrEmpty(this.k)) { a.m("textStyleFontStyle: \"" + this.k + "\", "); } if (!stringIsNullOrEmpty(this.l)) { a.m("textStyleFontVariant: \"" + this.l + "\", "); } if (!stringIsNullOrEmpty(this.m)) { a.m("textStyleFontWeight: \"" + this.m + "\", "); } if (!stringIsNullOrEmpty(this.i)) { a.m("textStyleFontFamily: \"" + this.i + "\", "); } if (!stringIsNullOrEmpty(this.j)) { a.m("textStyleFontStretch: \"" + this.j + "\", "); } if (!isNaN_(this.d)) { a.m("textStyleFontSize: " + this.d + ", "); } a.m("}"); return a.toString(); } }