TitledBorder, a border with a line rectangle and a title text.
new TitledBorder()public function TitledBorder(interior:Border, title:String, position:Number, align:Number, edge:Number, round:Number)
TitledBorder(interior:Border, title:String, position:Number, align:Number, edge:Number, round:Number)
TitledBorder(interior:Border, title:String, position:Number, align:Number, edge:Number)
TitledBorder(interior:Border, title:String, position:Number, align:Number,)
TitledBorder(interior:Border, title:String, position:Number)
TitledBorder(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 |
edge | the edge space of title position, defaut is 0. |
round | round rect radius, default is 0 means normal rectangle, not rect. |
static public DEFAULT_FONT:ASFont [Read Only]static public DEFAULT_COLOR:ASColor [Read Only]static public DEFAULT_LINE_COLOR:ASColor [Read Only]static public DEFAULT_LINE_LIGHT_COLOR:ASColor [Read Only]static public DEFAULT_LINE_THICKNESS:Numberstatic public TOP:Numberstatic public BOTTOM:Numberstatic public CENTER:Numberstatic public LEFT:Numberstatic public RIGHT:Numberstatic public GAP:NumbertextFieldExtent:ASTextExtentpublic function paintBorderImp(c:Component, g:Graphics, bounds:Rectangle):VoidDescription copied from DecorateBorder
Override this method in sub-class to draw border on the specified mc.
public function getBorderInsetsImp(c:Component, bounds:Rectangle):InsetsDescription copied from DecorateBorder
You should override this method to count this border's insets.
public function uninstallBorderImp(com:Component):VoidDescription copied from DecorateBorder
Override this method in sub-class to clear and remove the border things you created for this component.