Packagegeom
Classpublic class VerticalRectangle

VerticalRectangle class is used to draw vertical bars at the application start



Public Methods
 MethodDefined by
  
drawColumn($target:Sprite, $floor:Number, $height:Number, $width:Number, $pos:Number, $color:uint):Sprite
[static] Draws a rectangle in a specified Sprite
VerticalRectangle
Method detail
drawColumn()method
public static function drawColumn($target:Sprite, $floor:Number, $height:Number, $width:Number, $pos:Number, $color:uint):Sprite

Draws a rectangle in a specified Sprite

Parameters
$target:Sprite — The sprite to draw rectangle inside
 
$floor:Number — The position of the bottom of rectangle
 
$height:Number — The height of rectangle
 
$width:Number — The width of rectangle
 
$pos:Number — The x position of rectangle
 
$color:uint — Rectangle fill color

Returns
Sprite — a reference to rectangle created