ElectronScreen.getDisplayMatching method
ElectronScreen › getDisplayMatching
Unofficial
Returns the display that most closely intersects the provided bounds.Signature:
getDisplayMatching(rect: ElectronRectangle): ElectronDisplayParameters:
| Parameter | Type | Description |
|---|---|---|
| rect | ElectronRectangle | The bounds to match against. |
Returns: ElectronDisplay — The display that most closely intersects the provided bounds.