var FD;
(function (FD) {
    var TreeMapNodeFrame = (function () {
        function TreeMapNodeFrame(obj) {
            this.obj = obj;
            this.x = 0;
            this.y = 0;
            this.width = 0;
            this.height = 0;
            this.isInitialized = false;
        }

        TreeMapNodeFrame.prototype.initialize = function(x, y, width, height) {
            this.x = /*Math.floor*/(x);
            this.y = /*Math.floor*/(y);
            this.dx = /*Math.floor*/(width - x);
            this.dy = /*Math.floor*/(height - y);
            this.width = /*Math.floor*/(width);
            this.height = /*Math.floor*/(height);
            this.isInitialized = true;
        };

        TreeMapNodeFrame.prototype.toString = function() {
            return  'TreeMapNodeFrame ' + (this.isInitialized ? '[' + this.x + '|' + this.y + '][' + this.dx + '|' + this.dy + '][' + this.width + '|' + this.height + ']' : '[not-initialised]');
        };

        return TreeMapNodeFrame;
    })();

    FD.TreeMapNodeFrame = TreeMapNodeFrame;
})(FD || (FD = {}));
