Class com.sekati.draw.DrawUtils

Description

static class wrapper for various drawing and shape utilities

Method Index

drawRect()

Method Detail

drawRect

static public function drawRect(target:MovieClip, rName:String, w:Number, h:Number, color:Number, alpha:Number, lineWeight:Number, lineColor:Number):Void

draw a rectangle (various init options)

Parameters

target(MovieClip) target scope to create MovieClip within
rName(String) name of rectangle mc to be created
w(Number) rectangle width
h(Number) rectangle height
color(Number) rectangle hexadecimal color
alpha(Number) rectangle alpha
lineWeight(Number) rectangle line width
lineColor(Number) rectangle line hexadecimal color

Return

Void

 Usage:
 DrawUtils.drawRect (_root, "box", 320, 240, 0xff00ff, 75, 1, 0xffeeff);