"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeRect = void 0;
const namespaceURI_1 = require("../../component/namespaceURI");
const makeRect = (x, y, width, height, color) => {
    const sub_rectangle = document.createElementNS(namespaceURI_1.namespaceURI, 'rect');
    sub_rectangle.setAttribute('strokeWidth', `${6}px`);
    sub_rectangle.setAttribute('stroke', `${color}`);
    sub_rectangle.setAttribute('fill', 'none');
    sub_rectangle.setAttribute('x', `${x}px`);
    sub_rectangle.setAttribute('y', `${y}px`);
    sub_rectangle.setAttribute('width', `${width}px`);
    sub_rectangle.setAttribute('height', `${height}px`);
    return sub_rectangle;
};
exports.makeRect = makeRect;
//# sourceMappingURL=createRect.js.map