The SolidBorderUtil class is a utility class that draws a solid color
border of a specified color, thickness and alpha. This class is used
to composite Flash equivalents of JS entities and has no JS
equivalent.
Draw a solid color border as specified. Only square corners
are supported as the real usage for this is to handle
CSS triangles. The border is drawn around the given
width and height.
Parameters
g:Graphics — The flash.display.DisplayObject#graphics
x:Number — The x position
y:Number — The y position
width:Number — The width
height:Number — The height
colorTop:uint — The rgba color (alpha is in highest order byte)
colorRight:uint — The rgba color
colorBottom:uint — The rgba color
colorLeft:uint — The rgba color
thicknessTop:int (default = 0) — The optional fill color
thicknessRight:int (default = 0) — The thickness of the border
thicknessBottom:int (default = 0) — The thickness of the border
thicknessLeft:int (default = 0) — The thickness of the border