Create display.md
This commit is contained in:
parent
e811f809b5
commit
27a45009b3
1 changed files with 15 additions and 0 deletions
15
docs-translations/zh-CN/api/structures/display.md
Normal file
15
docs-translations/zh-CN/api/structures/display.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Display Object
|
||||
|
||||
* `id` Number - Unique identifier associated with the display.
|
||||
* `rotation` Number - Can be 0, 90, 180, 270, represents screen rotation in
|
||||
clock-wise degrees.
|
||||
* `scaleFactor` Number - Output device's pixel scale factor.
|
||||
* `touchSupport` String - Can be `available`, `unavailable`, `unknown`.
|
||||
* `bounds` [Rectangle](rectangle.md)
|
||||
* `size` [Size](size.md)
|
||||
* `workArea` [Rectangle](rectangle.md)
|
||||
* `workAreaSize` [Size](size.md)
|
||||
|
||||
The `Display` object represents a physical display connected to the system. A
|
||||
fake `Display` may exist on a headless system, or a `Display` may correspond to
|
||||
a remote, virtual display.
|
Loading…
Add table
Add a link
Reference in a new issue