A Rectangle with x, y coordinats and with, height ranges.
new Rectangle()
public function setRect(x, y:Number, width:Number, height:Number):Void
setRect(x:Number, y:Number, width:Number, height:Number)
setRect(rect:Rectangle)
public function setLocation(x, y:Number):Void
setLocation(x:Number, y:Number)
setLocation(p:Point)
public function setSize(width, height:Number):Void
setSize(width:Number, height:Number)
setSize(dim:Dimension)
public function union(r:Rectangle):Rectangle
Computes the union of this Rectangle
with the
specified Rectangle
. Returns a new
Rectangle
that
represents the union of the two rectangles
r | the specified Rectangle
|
the smallest Rectangle
containing both
the specified Rectangle
and this
Rectangle
.