Packagemx.geom
Classpublic class RoundedRectangle
InheritanceRoundedRectangle Inheritance flash.geom.Rectangle

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

RoundedRectangle represents a Rectangle with curved corners



Public Properties
 PropertyDefined By
  cornerRadius : Number = 0
The radius of each corner (in pixels).
RoundedRectangle
Public Methods
 MethodDefined By
  
RoundedRectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, cornerRadius:Number = 0)
Constructor.
RoundedRectangle
Property Detail
cornerRadiusproperty
public var cornerRadius:Number = 0

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The radius of each corner (in pixels).

The default value is 0.

Constructor Detail
RoundedRectangle()Constructor
public function RoundedRectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, cornerRadius:Number = 0)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Parameters
x:Number (default = 0) — The x coordinate of the top-left corner of the rectangle.
 
y:Number (default = 0) — The y coordinate of the top-left corner of the rectangle.
 
width:Number (default = 0) — The width of the rectangle, in pixels.
 
height:Number (default = 0) — The height of the rectangle, in pixels.
 
cornerRadius:Number (default = 0) — The radius of each corner, in pixels.