From the daily archives:

Monday, October 12, 2009

In a previous example, “Setting a corner radius on individual corners on a Rect in Flex 4″, we saw how you could individually set the corner radius on each corner of a Spark Rect shape in Flex 4 by setting the topLeftRadiusX, topRightRadiusX, bottomLeftRadiusX, and bottomRightRadiusX properties.

The following example shows how you can set an individual corner radius for the x-axis and y-axis for specific corners of a Rect in Flex 4 by setting both the topLeftRadiusX and topLeftRadiusY properties.

Full code after the jump.

[click to continue…]

{ 0 comments }