diff --git a/api/@ohos.display.d.ts b/api/@ohos.display.d.ts index 66cd26bd4dbd3d4cb0f41879eca4ed19d524d5cc..921a334914eb9aa5efe78fb33ed2f5e0b596a009 100644 --- a/api/@ohos.display.d.ts +++ b/api/@ohos.display.d.ts @@ -832,8 +832,8 @@ declare namespace display { * Convert global coordinates to relative coordinates. * * @param { Position } position - The global coordinates to be converted. - * @param { number } [displayId] - The optional display id indicate the display relative to. - * If not specified,use the display where the coodinates are located. + * @param { number } [displayId] - The optional display id indicates the display relative to. + * If not specified,use the display where the coodinates are located. * @returns { RelativePosition } The relative coordinates. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 1400003 - This display manager service works abnormally. diff --git a/api/@ohos.screenshot.d.ts b/api/@ohos.screenshot.d.ts index 462bfc94e55b1896a7c73c2b367e7a24fabb3d46..9a0db4c966591badb338ecca60f897a3e6512332 100644 --- a/api/@ohos.screenshot.d.ts +++ b/api/@ohos.screenshot.d.ts @@ -66,7 +66,8 @@ declare namespace screenshot { * @permission ohos.permission.CAPTURE_SCREEN * @param { HdrScreenshotOptions } [options] - Screenshot parameters. * @returns { Promise> } Promise used to return a PixelMap array. When HDR content is available, - * return two PixelMap objects: the first one as SDR and the second one as HDR. When no HDR content is available, only return one SDR PixelMap object. + * return two PixelMap objects: the first one as SDR and the second one as HDR. When no HDR content is available, + * only return one SDR PixelMap object. * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API. * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.