com.bumpslide.util.Draw
Drawing Utilities
static public function outline(mc:MovieClip, boxwidth:Number, boxheight:Number, boxcolor:Number, linewidth:Number, alpha:Number)Creates a pixel sharp bounding box on a movie clip @param mc @param boxwidth @param boxheight @param boxcolor @param linewidth @param alpha
static public function roundedOutline(mc:MovieClip, boxwidth:Number, boxheight:Number, tcolor:Number, rcolor:Number, bcolor:Number, lcolor:Number, fillcolor:Number)Creates a pseudo-rounded outline for use with the pixel aesthetic Not really rounded, the corners are just missing. @param mc @param boxwidth @param boxheight @param tcolor @param rcolor @param bcolor @param lcolor @param fillcolor
static public function fill(mc:MovieClip, boxWidth:Number, boxHeight:Number, boxColor:Number, alpha:Number)Alias for Draw.box created for backwards compatibility
mc | |
boxWidth | |
boxHeight | |
boxColor | |
alpha |
static public function box(mc:MovieClip, boxWidth:Number, boxHeight:Number, boxColor:Number, alpha:Number)Draws a box on a movieclip
mc | |
boxWidth | |
boxHeight | |
boxColor | |
alpha |
static public function dashedLineHoriz(mc:MovieClip, width:Number, dashColor:Number, dashLen:Number, dashGap:Number)Draws pixel-perfect horizonal dashed line
mc | |
width | |
dashColor | |
dashLen | |
dashGap |
static public function roundedRectangle(mc:MovieClip, w:Number, h:Number, cornerRadius:Number, thickness:Number, color:Number, alpha:Number)Draws a rounded rectangle. modified version of mc.drawRect() - by Ric Ewing (ric@formequalsfunction.com) see http://www.adobe.com/devnet/flash/articles/adv_draw_methods.html
mc | |
w | |
h | |
cornerRadius | |
thickness | |
color | |
alpha |