From 27a45009b3f5b6e6a5c7a1a5595b7735b87f6123 Mon Sep 17 00:00:00 2001 From: ZhangYu Date: Fri, 7 Apr 2017 10:40:47 +0800 Subject: [PATCH] Create display.md --- docs-translations/zh-CN/api/structures/display.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs-translations/zh-CN/api/structures/display.md diff --git a/docs-translations/zh-CN/api/structures/display.md b/docs-translations/zh-CN/api/structures/display.md new file mode 100644 index 000000000000..f5f5b9866ba1 --- /dev/null +++ b/docs-translations/zh-CN/api/structures/display.md @@ -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.