UNPKG

igniteui-react-core

Version:
52 lines (51 loc) 1.91 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 { __extends, __read, __spreadArray } from "tslib"; import { Description } from "./Description"; import { typeCast, markType } from "./type"; /** * @hidden */ var PointDescription = /** @class */ /*@__PURE__*/ (function (_super) { __extends(PointDescription, _super); function PointDescription() { var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; _this._x = 0; _this._y = 0; return _this; } Object.defineProperty(PointDescription.prototype, "x", { get: function () { return this._x; }, set: function (a) { this._x = a; }, enumerable: false, configurable: true }); Object.defineProperty(PointDescription.prototype, "y", { get: function () { return this._y; }, set: function (a) { this._y = a; }, enumerable: false, configurable: true }); PointDescription.prototype.equals = function (a) { if (a == null || !(typeCast(PointDescription.$, a) !== null)) { return _super.prototype.equals.call(this, a); } var b = a; return this.x == b.x && this.y == b.y; }; PointDescription.$t = markType(PointDescription, 'PointDescription', Description.$); return PointDescription; }(Description)); export { PointDescription };