docs: coordinate system of Display.bounds and Display.workArea (#27157)

They are in DIP points (rather than screen points). We can use
screen.dipToScreen* to convert to screen points.
This commit is contained in:
Jim Fisher 2021-01-07 10:49:45 +00:00 committed by GitHub
parent 449c048ac6
commit 0f8b5ab606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,9 +11,9 @@
* `colorDepth` Number - The number of bits per pixel.
* `depthPerComponent` Number - The number of bits per color component.
* `displayFrequency` Number - The display refresh rate.
* `bounds` [Rectangle](rectangle.md)
* `bounds` [Rectangle](rectangle.md) - the bounds of the display in DIP points.
* `size` [Size](size.md)
* `workArea` [Rectangle](rectangle.md)
* `workArea` [Rectangle](rectangle.md) - the work area of the display in DIP points.
* `workAreaSize` [Size](size.md)
* `internal` Boolean - `true` for an internal display and `false` for an external display