提交 6af133f7 编写于 作者: Y yanjin1122

add effectcomponent doc

Signed-off-by: Nyanjin1122 <976819878@qq.com>
上级 192e7fbf
......@@ -26,7 +26,7 @@ EffectComponent()
## 事件
无,不支持通用事件。
不支持通用事件。
## 属性
......@@ -35,7 +35,7 @@ EffectComponent()
## 示例
```ts
//index.ets
//Index.ets
@Entry
@Component
struct Index {
......@@ -45,7 +45,7 @@ struct Index {
.autoResize(true)
EffectComponent() {
Column({ space: 20 }) {
// 使用backgroundBlurStyle进行模糊绘制
// 使用backgroundBlurStyle进行模糊绘制
Text("Normal text with backgroundBlurStyle")
.textAlign(TextAlign.Center)
.fontSize(16)
......@@ -65,7 +65,7 @@ struct Index {
.width('90%')
.height('48')
// 使用useEffect进行模糊合并绘制,继承effectcomponent的模糊参数
// 使用useEffect进行模糊合并绘制,继承EffectComponent的模糊参数
Text("Normal text with useeffcet blur 1")
.textAlign(TextAlign.Center)
.useEffect(true)
......@@ -75,7 +75,7 @@ struct Index {
.width('90%')
.height('48')
// 使用useEffect进行模糊合并绘制,继承effectcomponent的模糊参数
// 使用useEffect进行模糊合并绘制,继承EffectComponent的模糊参数
Text("Normal text with useeffcet blur 2")
.textAlign(TextAlign.Center)
.useEffect(true)
......
# 特效绘制合
# 特效绘制合
用于对背景模糊等特效进行绘制合并。
> **说明:**
>
> 从API Version 10开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。
>
> 该接口为系统接口。
## 属性
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册