Rect « Graphics « Flex






1.use solid color to fill a Rectuse solid color to fill a Rect
2.RadialGradient demoRadialGradient demo
3.Using MXML graphics to draw a filled rectangleUsing MXML graphics to draw a filled rectangle
4.Using solid color to paint a RectangleUsing solid color to paint a Rectangle
5.Draw two rectangles with strokes and fills. One rectangle has rounded corners:Draw two rectangles with strokes and fills. One rectangle has rounded corners:
6.Change the rectangle's color when you click the buttonChange the rectangle's color when you click the button