From 9ac8ab2678e4d8832c5947775bfe4d2588d8c642 Mon Sep 17 00:00:00 2001 From: FadeAgain <402878692@qq.com> Date: Mon, 8 Aug 2022 05:58:39 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90OpenHarmony=E5=BC=80=E6=BA=90=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E8=80=85=E8=AE=A1=E5=88=922022=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E8=8B=A5=E5=B9=B2=E4=B8=AA=E6=96=87=E6=A1=A3=E5=8F=8A?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=20Signed-off-by:=20FadeAga?= =?UTF-8?q?in<402878692@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arkui-ts/ts-universal-attributes-image-effect.md | 6 ++---- .../reference/arkui-ts/ts-universal-attributes-location.md | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-image-effect.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-image-effect.md index 9168b2896a..2c11bf39c4 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-image-effect.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-image-effect.md @@ -3,7 +3,6 @@ 例如背景模糊、内容模糊和灰度效果等。 > **说明:** -> > 从API Version 7开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。 @@ -27,7 +26,7 @@ | invert | number | 0 | 反转输入的图像。入参为图像反转的比例。值为1时完全反转。值为0则图像无变化。(百分比) | | colorBlend 8+ | Color \| string \| [Resource](../../ui/ts-types.md#resource类型)| | - | 为当前组件添加颜色叠加效果,入参为叠加的颜色。 | | sepia | number | 0 | 将图像转换为深褐色。入参为图像反转的比例。值为1则完全是深褐色的,值为0图像无变化。 (百分比) | -| hueRotate | number \| string | '0deg' | 为当前组件添加色相旋转效果,入参为旋转的角度值,0deg时图像无变化。入参没有最大值,超过360deg时相当于又绕一圈,即,370deg和10deg的色相旋转效果相同。 | +| hueRotate | number | string | '0deg' | 为当前组件添加色相旋转效果,入参为旋转的角度值,0deg时图像无变化。入参没有最大值,超过360deg时相当于又绕一圈,即,370deg和10deg的色相旋转效果相同。 | ## 示例 @@ -37,6 +36,7 @@ @Entry @Component struct ImageEffectsExample { + build() { Column({space: 10}) { // 对字体进行模糊 @@ -75,5 +75,3 @@ struct ImageEffectsExample { } } ``` - - diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md index 5f7430a51d..c6182fe332 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-location.md @@ -38,6 +38,7 @@ @Entry @Component struct PositionExample { + build() { Column() { Column({space: 10}) { @@ -72,6 +73,7 @@ struct PositionExample { @Entry @Component struct PositionExample2 { + build() { Column({ space: 20 }) { Text('position').fontSize(12).fontColor(0xCCCCCC).width('90%') -- GitLab