<s:Group id="ellipse2" x="-50" y="-50" width="100" height="100">
<s:Rect width="100" height="100" x="0" y="0">
<s:stroke>
<s:LinearGradientStroke weight="1">
<s:GradientEntry color="0xFF0000"/>
</s:LinearGradientStroke>
</s:stroke>
</s:Rect>
<s:Label id="label" text="Hello World" width="100%" height="100%" textAlign="center" verticalAlign="middle" />
</s:Group>
我试图从样式中设置背景颜色,但这不起作用,我该如何设置背景颜色,而不是渐变?