Link to return class type

This commit is contained in:
Kevin Sawicki 2016-12-19 09:40:07 -08:00
parent 683d8033f0
commit 6352afb07a
6 changed files with 13 additions and 10 deletions

View file

@ -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.