From d03a8650ef63cd2a4b2c0caa6df04c5eca1a4de9 Mon Sep 17 00:00:00 2001 From: wangmike Date: Thu, 24 Nov 2022 07:10:08 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=20api/@oho?= =?UTF-8?q?s.effectKit.d.ts.=E5=88=A0=E9=99=A4=E6=A0=87=E7=AD=BE@import,?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E7=AD=BE@returns?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangmike --- api/@ohos.effectKit.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/api/@ohos.effectKit.d.ts b/api/@ohos.effectKit.d.ts index 78ffb0c148..8a8d0bac6d 100644 --- a/api/@ohos.effectKit.d.ts +++ b/api/@ohos.effectKit.d.ts @@ -19,7 +19,7 @@ import image from './@ohos.multimedia.image'; /** * @name effectKit * @since 9 - * @import effectKit from '@ohos.effectKit'; + * effectKit from '@ohos.effectKit'; */ declare namespace effectKit { @@ -35,7 +35,7 @@ declare namespace effectKit { * @since 9 * @syscap SystemCapability.Multimedia.Image.Core * @param radius The degree of blur, the value is measured in pixels. - * @return Filters for the current effect have been added. + * @returns Filters for the current effect have been added. */ blur(radius:number): Filter; @@ -44,7 +44,7 @@ declare namespace effectKit { * @since 9 * @syscap SystemCapability.Multimedia.Image.Core * @param bright The degree of light and darkness,the value range is 0 to 1. - * @return Filters for the current effect have been added. + * @returns Filters for the current effect have been added. */ brightness(bright:number): Filter; @@ -52,7 +52,7 @@ declare namespace effectKit { * A Grayscale effect is added to the image. * @since 9 * @syscap SystemCapability.Multimedia.Image.Core - * @return Filters for the current effect have been added. + * @returns Filters for the current effect have been added. */ grayscale(): Filter; @@ -60,7 +60,7 @@ declare namespace effectKit { * Gets the PixelMap where all filter effects have been added to the image. * @since 9 * @syscap SystemCapability.Multimedia.Image.Core - * @return image.PixelMap. + * @returns image.PixelMap. */ getPixelMap(): image.PixelMap; } @@ -128,7 +128,7 @@ declare namespace effectKit { * @since 9 * @syscap SystemCapability.Multimedia.Image.Core * @param image.PixelMap. - * @return Returns the head node of FilterChain. + * @returns Returns the head node of FilterChain. */ function createEffect(source: image.PixelMap): Filter; @@ -137,7 +137,7 @@ declare namespace effectKit { * @since 9 * @syscap SystemCapability.Multimedia.Image.Core * @param image.PixelMap. - * @return Returns the ColorPicker. + * @returns Returns the ColorPicker. */ function createColorPicker(source: image.PixelMap): Promise; @@ -146,7 +146,7 @@ declare namespace effectKit { * @since 9 * @syscap SystemCapability.Multimedia.Image.Core * @param image.PixelMap. - * @return Returns the ColorPicker. + * @returns Returns the ColorPicker. */ function createColorPicker(source: image.PixelMap, callback: AsyncCallback): void; } -- Gitee