"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRect = getRect;
const getPosition_1 = require("./getPosition");
const getSize_1 = require("./getSize");
function getRect(element) {
    const { x, y } = (0, getPosition_1.getPosition)(element);
    const { width, height } = (0, getSize_1.getSize)(element);
    return {
        x,
        y,
        width,
        height,
    };
}
//# sourceMappingURL=getRect.js.map