UNPKG

igniteui-webcomponents-inputs

Version:

Ignite UI Web Components inputs components.

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