A border that draw a line at one side of a component.
public function SideLineBorder(interior:Border, side:Number, color:ASColor, thickness:Number)
SideLineBorder(interior:Border, side:Number, color:ASColor, thickness:Number)
SideLineBorder(interior:Border, side:Number, color:ASColor)
SideLineBorder(interior:Border, side:Number)
SideLineBorder(interior:Border)
SideLineBorder()
interior | interior border. Default is null; |
side | the side of the line. Must be one of bottom value:
|
color | the color of the border. Default is ASColor.BLACK |
thickness | the thickness of the border. Default is 1 |
static public NORTH:Number
static public SOUTH:Number
static public EAST:Number
static public WEST:Number
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, b:Rectangle):Insets
Description copied from DecorateBorder
You should override this method to count this border's insets.