Packageorg.flintparticles.common.displayObjects
Classpublic class Rect
InheritanceRect Inheritance flash.display.Shape

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.



Public Properties
 PropertyDefined By
  color : uint
Rect
  height : Number
[override]
Rect
  width : Number
[override]
Rect
Public Methods
 MethodDefined By
  
Rect(width:Number = 1, height:Number = 1, color:uint = 0xFFFFFF, bm:String = normal)
The constructor creates a Rect with the specified width and height.
Rect
Property Detail
colorproperty
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
heightproperty 
height:Number[override]


Implementation
    public function get height():Number
    public function set height(value:Number):void
widthproperty 
width:Number[override]


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
Rect()Constructor
public 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