igniteui-react-core
Version:
Ignite UI React Core.
41 lines (40 loc) • 1.42 kB
JavaScript
/*
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 } from "tslib";
import { Base, markType } from "./type";
import { Rect } from "./Rect";
/**
* @hidden
*/
var Tile = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(Tile, _super);
function Tile() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.d = 0;
_this.e = 0;
_this.f = 0;
_this.c = 0;
_this.i = null;
_this.h = null;
_this.b = new Date();
_this.a = false;
_this.g = null;
return _this;
}
Object.defineProperty(Tile.prototype, "j", {
get: function () {
var a = Math.pow(2, -this.f);
var b = Math.pow(2, -this.f);
return new Rect(0, this.d * a, this.e * b, a, b);
},
enumerable: false,
configurable: true
});
Tile.$t = markType(Tile, 'Tile');
return Tile;
}(Base));
export { Tile };