Packagexp.graphics
Classpublic class BorderRectangle
InheritanceBorderRectangle Inheritance RoundRectangle Inheritance flash.geom.Rectangle



Public Properties
 PropertyDefined by
 InheritedcornerRadius : CornerRadius
Set the corner radius
RoundRectangle
  innerRectangle : RoundRectangle
[read-only]
BorderRectangle
  thickness : Thickness
The thickness of the borders
BorderRectangle
Public Methods
 MethodDefined by
  
BorderRectangle(x:int = 0, y:int = 0, width:int = 0, height:int = 0, borderThickness:* = null, cornerRadius:* = null)
BorderRectangle
  
initialize(x:int, y:int, width:int, height:int, borderThickness:Thickness = null, cornerRadius:CornerRadius = null):void
Initialize the internal structures and properties
BorderRectangle
  
setEmpty():void
Clears the object and all internal structures
BorderRectangle
 Inherited
setRectangle(x:int, y:int, w:int, h:int):void
Set the x, y, width and height properties of this object
RoundRectangle
  
validate():void
Validates and update all the internal properties and ensures that the InnerRectangle and InnerRadius are in sync.
BorderRectangle
Property detail
innerRectangleproperty
innerRectangle:RoundRectangle  [read-only]Implementation
    public function get innerRectangle():RoundRectangle
thicknessproperty 
thickness:Thickness  [read-write]

The thickness of the borders

Implementation
    public function get thickness():Thickness
    public function set thickness(value:Thickness):void
Constructor detail
BorderRectangle()constructor
public function BorderRectangle(x:int = 0, y:int = 0, width:int = 0, height:int = 0, borderThickness:* = null, cornerRadius:* = null)

Parameters
x:int (default = 0)
 
y:int (default = 0)
 
width:int (default = 0)
 
height:int (default = 0)
 
borderThickness:* (default = null)
 
cornerRadius:* (default = null)
Method detail
initialize()method
public function initialize(x:int, y:int, width:int, height:int, borderThickness:Thickness = null, cornerRadius:CornerRadius = null):void

Initialize the internal structures and properties

Parameters
x:int
 
y:int
 
width:int
 
height:int
 
borderThickness:Thickness (default = null)
 
cornerRadius:CornerRadius (default = null)
setEmpty()method 
public override function setEmpty():void

Clears the object and all internal structures

validate()method 
public function validate():void

Validates and update all the internal properties and ensures that the InnerRectangle and InnerRadius are in sync. If update is not called the objects state maybe invalid