| 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 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.
|
Mon Sep 5 2016, 07:19 AM -07:00