UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

56 lines (55 loc) 1.85 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 { Description } from "./Description"; import { typeCast, markType } from "./type"; /** * @hidden */ export let RectDescription = /*@__PURE__*/ (() => { class RectDescription extends Description { constructor() { super(...arguments); this._left = 0; this._top = 0; this._width = 0; this._height = 0; } get left() { return this._left; } set left(a) { this._left = a; } get top() { return this._top; } set top(a) { this._top = a; } get width() { return this._width; } set width(a) { this._width = a; } get height() { return this._height; } set height(a) { this._height = a; } equals(a) { if (a == null || !(typeCast(RectDescription.$, a) !== null)) { return super.equals(a); } let b = a; return this.left == b.left && this.top == b.top && this.width == b.width && this.height == b.height; } } RectDescription.$t = markType(RectDescription, 'RectDescription', Description.$); return RectDescription; })();