function settingsPnlCreate(canvas, shapeElement, bottomX, bottomY) {
	const shapeSettings = new ShapeEdit();
	listen(shapeSettings, 'cmd', /** @param {CustomEvent<{cmd:string, arg:string}>} evt */ evt => {
		switch (evt.detail.cmd) {
			case 'style': classSingleAdd(shapeElement, shapeElement[ShapeSmbl].data, 'cl-', evt.detail.arg); break;
			case 'del': shapeElement[ShapeSmbl].del(); break;
			case 'copy': copyAndPast(canvas, [shapeElement]); break;
		}
	});
	return modalCreate(bottomX, bottomY, shapeSettings);
}
@param {import('../infrastructure/canvas-smbl').CanvasElement} canvas
@param {import('./shape-smbl').ShapeElement} shapeElement
@param {number} bottomX positon of the bottom left corner of the panel
@param {number} bottomY positon of the bottom left corner of the panel