ERectangle 矩形
示例与代码
矩形
属性
属性说明取值与默认值
border.colorcolor矩形边框颜色。
默认值
动态绑定border.widthreal矩形边框宽度,单位为像素。
默认值
0colorcolor自定义颜色;透明值通常表示使用当前主题或语义配色。
默认值
动态绑定enabledbool是否允许交互;false 时控件禁用。
默认值
trueheightreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitHeightradiusreal圆角半径,单位为像素。
默认值
0visiblebool是否显示组件。
默认值
truewidthreal组件尺寸,单位为像素;可绑定父布局尺寸。
默认值
implicitWidth