Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
RoundedRectangle represents a Rectangle with curved corners
public var cornerRadius:Number = 0
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The radius of each corner (in pixels).
The default value is 0
.
public function RoundedRectangle(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, cornerRadius:Number = 0)
Language Version : | ActionScript 3.0 |
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.
|
Wed Nov 15 2017, 09:50 AM +01:00