UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

18 lines (17 loc) 595 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Point = void 0; /** * A class to represent an X,Y point */ var Point = /** @class */ (function () { function Point(x, y) { this.x = x; this.y = y; } Point.isEqual = function (point1, point2) { return !((point1 === null || point1 === void 0 ? void 0 : point1.x) !== point2.x || (point1 === null || point1 === void 0 ? void 0 : point1.y) !== (point2 === null || point2 === void 0 ? void 0 : point2.y)); }; return Point; }()); exports.Point = Point;