Packageorg.apache.flex.utils
Classpublic class CSSBorderUtils
InheritanceCSSBorderUtils Inheritance Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The CSSBorderUtils class is shared code for getting the styles regarding borders and drawing one.



Public Methods
 MethodDefined By
  
draw(g:Graphics, width:Number, height:Number, host:DisplayObject, state:String = null, drawBackground:Boolean = false, clear:Boolean = true):void
[static] Get the related styles and draw a border
CSSBorderUtils
Method Detail
draw()method
public static function draw(g:Graphics, width:Number, height:Number, host:DisplayObject, state:String = null, drawBackground:Boolean = false, clear:Boolean = true):void

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Get the related styles and draw a border

Parameters

g:Graphics — The flash.display.Graphics to draw into.
 
width:Number — The width.
 
height:Number — The height.
 
host:DisplayObject — The object to pull styles from.
 
state:String (default = null) — The pseudo-state, if any.
 
drawBackground:Boolean (default = false) — True if area inside border should be filled with backgroundColor.
 
clear:Boolean (default = true) — True if graphics.clear() should be called.