new LineBorder()
public function LineBorder(interior:Border, color:ASColor, thickness:Number, round:Number)
LineBorder(interior:Border, color:ASColor, thickness:Number, roundedCorners:Boolean)
LineBorder(interior:Border, color:ASColor, thickness:Number)
LineBorder(interior:Border, color:ASColor)
LineBorder(interior:Border)
LineBorder()
interior | interior border. Default is null; |
color | the color of the border. Default is ASColor.BLACK |
thickness | the thickness of the border. Default is 1 |
round | round rect radius, default is 0 means normal rectangle, not rect. |
public function paintBorderImp(c:Component, g:Graphics, b:Rectangle):Void
Description copied from DecorateBorder
Override this method in sub-class to draw border on the specified mc.
public function getBorderInsetsImp(c:Component, bounds:Rectangle):Insets
Description copied from DecorateBorder
You should override this method to count this border's insets.