UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

42 lines (41 loc) 1.44 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 PointDescription = /*@__PURE__*/ (() => { class PointDescription extends Description { constructor() { super(...arguments); this._x = 0; this._y = 0; } get x() { return this._x; } set x(a) { this._x = a; } get y() { return this._y; } set y(a) { this._y = a; } equals(a) { if (a == null || !(typeCast(PointDescription.$, a) !== null)) { return super.equals(a); } let b = a; return this.x == b.x && this.y == b.y; } } PointDescription.$t = markType(PointDescription, 'PointDescription', Description.$); return PointDescription; })();