Packageorg.omoa.framework
Classpublic class BoundingBox
InheritanceBoundingBox Inheritance flash.geom.Rectangle

This class is an extension of flash.geom.Rectangle and provides a min and max values for an rectangle [still thinking about turning back to the Rectangle class for the sake of memory].

See also

flash.geom.Rectangle


Public Properties
 PropertyDefined By
  maxx : Number
BoundingBox
  maxy : Number
BoundingBox
  minx : Number
BoundingBox
  miny : Number
BoundingBox
Public Methods
 MethodDefined By
  
BoundingBox(x1:Number, y1:Number, x2:Number, y2:Number)
BoundingBox
  
fromRectangle(rect:Rectangle):void
BoundingBox
Property Detail
maxxproperty
maxx:Number


Implementation
    public function get maxx():Number
    public function set maxx(value:Number):void
maxyproperty 
maxy:Number


Implementation
    public function get maxy():Number
    public function set maxy(value:Number):void
minxproperty 
minx:Number


Implementation
    public function get minx():Number
    public function set minx(value:Number):void
minyproperty 
miny:Number


Implementation
    public function get miny():Number
    public function set miny(value:Number):void
Constructor Detail
BoundingBox()Constructor
public function BoundingBox(x1:Number, y1:Number, x2:Number, y2:Number)



Parameters
x1:Number
 
y1:Number
 
x2:Number
 
y2:Number
Method Detail
fromRectangle()method
public function fromRectangle(rect:Rectangle):void

Parameters

rect:Rectangle