mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Link to return class type
This commit is contained in:
@@ -100,11 +100,11 @@ The current absolute position of the mouse pointer.
|
||||
|
||||
### `screen.getPrimaryDisplay()`
|
||||
|
||||
Returns `Display` - The primary display.
|
||||
Returns [`Display`](structures/display.md) - The primary display.
|
||||
|
||||
### `screen.getAllDisplays()`
|
||||
|
||||
Returns `Display[]` - An array of displays that are currently available.
|
||||
Returns [`Display[]`](structures/display.md) - An array of displays that are currently available.
|
||||
|
||||
### `screen.getDisplayNearestPoint(point)`
|
||||
|
||||
@@ -112,10 +112,11 @@ Returns `Display[]` - An array of displays that are currently available.
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
|
||||
Returns `Display` - The display nearest the specified point.
|
||||
Returns [`Display`](structures/display.md) - The display nearest the specified point.
|
||||
|
||||
### `screen.getDisplayMatching(rect)`
|
||||
|
||||
* `rect` [Rectangle](structures/rectangle.md)
|
||||
|
||||
Returns `Display` - The display that most closely intersects the provided bounds.
|
||||
Returns `Display`](structures/display.md) - The display that most closely
|
||||
intersects the provided bounds.
|
||||
|
||||
Reference in New Issue
Block a user