ElectronBrowserWindow.setShape method
ElectronBrowserWindow › setShape
Unofficial
Sets a window shape determining the area within the window where drawing and user interaction are permitted (Linux and Windows).Signature:
setShape(rects: ElectronRectangle[]): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| rects | ElectronRectangle[] | The rectangles defining the window shape. |
Returns: void