HarmonyOS Developer 基于ArkTS开发常见问题-UI开发
Shape组件设置填充色为透明(ArkTS)可以使用Shape组件的fill属性实现。.fill('rgba(0,0,0,0.0)')具体的使用如下:EntryComponentstructIndex{build(){Stack({alignContent:Alignment.Bottom}){Text('Firstchild,showinbottom').width('90%').height('100%').backgroundColor(0xd2cab3).align(Alignment.Top)Text('Secondchild,showintop').width('70%').height('60%').backgroundColor(0xc1cbac).align(Alignment.Top)Shape(){Re...