提交 09062ee3 编写于 作者: C chenyuhuai

update backgroundImageSize docs

Signed-off-by: Nchenyuhuai <chenyuhuai1@huawei.com>
上级 41ab2986
......@@ -32,7 +32,6 @@
// xxx.ets
@Entry
@Component
struct Index {
build() {
Column() {
......@@ -42,12 +41,13 @@ struct Index {
.width(350)
.height(300)
.backgroundBlurStyle(BlurStyle.Thin)
.position({x: "15%", y: "30%"})
.position({ x: "15%", y: "30%" })
}
.height('100%')
.width('100%')
.backgroundImage($r('app.media.bg'))
.backgroundImageSize(ImageSize.Cover)
}
}
```
![zh-cn_image_background_blur_style](figures/zh-cn_image_background_blur_style.png)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册