提交 506ee935 编写于 作者: 葛亚芳

fixed 8301ca53 from https://gitee.com/ge-yafang/docs/pulls/3523

update en/application-dev/reference/apis/js-apis-screenshot.md.
Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 b65f7c46
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
## Modules to Import ## Modules to Import
``` ```js
import screenshot from '@ohos.screenshot'; import screenshot from '@ohos.screenshot';
``` ```
...@@ -67,7 +67,7 @@ Takes a screenshot and saves it as a **PixelMap** object. This method uses a cal ...@@ -67,7 +67,7 @@ Takes a screenshot and saves it as a **PixelMap** object. This method uses a cal
- Example - Example
``` ```js
var ScreenshotOptions = { var ScreenshotOptions = {
"screenRect": { "screenRect": {
"left": 200, "left": 200,
...@@ -112,7 +112,7 @@ Takes a screenshot and saves it as a **PixelMap** object. This method uses a pro ...@@ -112,7 +112,7 @@ Takes a screenshot and saves it as a **PixelMap** object. This method uses a pro
- Example - Example
``` ```js
var ScreenshotOptions = { var ScreenshotOptions = {
"screenRect": { "screenRect": {
"left": 200, "left": 200,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册