A poor Title Border.
public function SimpleTitledBorder(interior:Border, title:String, position:Number, align:Number, offset:Number, font:ASFont, color:ASColor)
SimpleTitledBorder(interior:Border, title:String, position:Number, align:Number, offset:Number, font:ASFont, color:ASColor)
SimpleTitledBorder(interior:Border, title:String, position:Number, align:Number, offset:Number, font:ASFont)
SimpleTitledBorder(interior:Border, title:String, position:Number, align:Number, offset:Number)
SimpleTitledBorder(interior:Border, title:String, position:Number, align:Number,)
SimpleTitledBorder(interior:Border, title:String, position:Number)
SimpleTitledBorder(interior:Border, title:String)
title | the title text string. |
position | the position of the title(TOP or BOTTOM), default is TOP |
align | the align of the title(CENTER or LEFT or RIGHT), default is CENTER |
offset | the addition of title text's x position, default is 0 |
font | the title text's ASFont |
color | the color of the title text |
static public TOP:Number
static public BOTTOM:Number
static public CENTER:Number
static public LEFT:Number
static public RIGHT:Number
static public EDGE_SPACING:Number
public function paintBorderImp(c:Component, g:Graphics, bounds: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.
public function uninstallBorderImp(com:Component):Void
Description copied from DecorateBorder
Override this method in sub-class to clear and remove the border things you created for this component.