The Rect class is a DisplayObject that is a rectangle shape. The
registration point of this display object is in the center of the
rectangle.
color:uint Implementation public function get color():uint public function set color(value:uint):voidheight:Number[override]
Implementation public function get height():Number public function set height(value:Number):voidwidth:Number[override]
Implementation public function get width():Number public function set width(value:Number):voidpublic function Rect(width:Number = 1, height:Number = 1, color:uint = 0xFFFFFF, bm:String = normal)
The constructor creates a Rect with the specified width and height.
Parameters | width:Number (default = 1) — The width, in pixels, of the rectangle.
|
| |
| height:Number (default = 1) — The height, in pixels, of the rectangle.
|
| |
| color:uint (default = 0xFFFFFF) — the color of the rectangle
|
| |
| bm:String (default = normal) — The blendMode for the rectangle
|
Sun Feb 27 2011, 06:00 PM Z