diff --git a/zh-cn/application-dev/reference/apis/js-apis-screenshot.md b/zh-cn/application-dev/reference/apis/js-apis-screenshot.md index 80fb4d6513f144df309482ea15eac3d636d2c230..6871f0ce050609b9871ab727c4fae0a9e910494c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-screenshot.md +++ b/zh-cn/application-dev/reference/apis/js-apis-screenshot.md @@ -1,4 +1,5 @@ # 屏幕截图 +本模块提供屏幕截图的能力,截取屏幕时支持设置截取的区域、大小等图像信息。 > **说明:** > @@ -67,7 +68,7 @@ save(options?: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>) | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------------------------- | ---- | ------------------------------------------------------------ | | options | [ScreenshotOptions](#screenshotoptions) | 否 | 该类型的参数包含screenRect,imageSize,rotation, displayId四个参数,可以分别设置这四个参数。 | -| callback | AsyncCallback<image.PixelMap> | 是 | 回调返回一个PixelMap对象。 | +| callback | AsyncCallback<image.PixelMap> | 是 | 回调函数。返回一个PixelMap对象。 | **示例:** @@ -113,7 +114,7 @@ save(options?: ScreenshotOptions): Promise<image.PixelMap> | 类型 | 说明 | | ----------------------------- | ----------------------------------------------- | -| Promise<image.PixelMap> | 以Promise形式返回结果,返回image.PixelMap对象。 | +| Promise<image.PixelMap> | Promise对象。返回一个PixelMap对象。 | **示例:**