MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1032

Actionscript 2.0 language reference
Table of Contents

Advertisement

Modifiers
Signature
containsRectangle(re
ct:Rectangle) :
Boolean
equals(toCompare:Obj
ect) : Boolean
inflate(dx:Number,
dy:Number) : Void
inflatePoint(pt:Poin
t) : Void
intersection(toInter
sect:Rectangle) :
Rectangle
intersects(toInterse
ct:Rectangle) :
Boolean
isEmpty() : Boolean
offset(dx:Number,
dy:Number) : Void
offsetPoint(pt:Point
) : Void
setEmpty() : Void
toString() : String
union(toUnion:Rectan
gle) : Rectangle
1032
ActionScript classes
Description
Determines whether the Rectangle object specified
by the rect parameter is contained within this
Rectangle object.
Determines whether the object specified in the
toCompare parameter is equal to this Rectangle
object.
Increases the size of the Rectangle object by the
specified amounts.
Increases the size of the Rectangle object.
If the Rectangle object specified in the toIntersect
parameter intersects with this Rectangle object, the
intersection() method returns the area of
intersection as a Rectangle object.
Determines whether the object specified in the
toIntersect parameter intersects with this
Rectangle object.
Determines whether or not this Rectangle object is
empty.
Adjusts the location of the Rectangle object, as
determined by its top-left corner, by the specified
amounts.
Adjusts the location of the Rectangle object using a
Point object as a parameter.
Sets all of the Rectangle object's properties to 0.
Builds and returns a string that lists the horizontal and
vertical positions and the width and height of the
Rectangle object.
Adds two rectangles together to create a new
Rectangle object, by filling in the horizontal and
vertical space between the two rectangles.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents