示例代码,可以配置背景图片,然后内部用Text示例代码Shape() { Text('path').fontSize(18).fontColor(0xCCCCCC).width(320) } .width(350) .height(140) // .backgroundColor(Color.Red) .backgroundImage($r("app.media.app_icon"))
示例代码,可以配置背景图片,然后内部用Text
示例代码