UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

42 lines (41 loc) 1.7 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 { Base, markType } from "igniteui-react-core"; /** * @hidden */ var AnnotationBackingArrangedSize = /** @class */ /*@__PURE__*/ (function (_super) { __extends(AnnotationBackingArrangedSize, _super); function AnnotationBackingArrangedSize() { var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this; _this.b = 0; _this.e = 0; _this.f = 0; _this.c = 0; return _this; } Object.defineProperty(AnnotationBackingArrangedSize.prototype, "d", { get: function () { return this.b; }, set: function (a) { this.b = a; }, enumerable: false, configurable: true }); AnnotationBackingArrangedSize.prototype.a = function (a) { if (a.x >= this.d && a.x - this.f <= this.d && a.y >= this.e) { return a.y - this.c <= this.e; } return false; }; AnnotationBackingArrangedSize.$t = markType(AnnotationBackingArrangedSize, 'AnnotationBackingArrangedSize'); return AnnotationBackingArrangedSize; }(Base)); export { AnnotationBackingArrangedSize };