Rectangle (flash.geom.Rectangle)
1031
Properties inherited from class Object
Constructor summary
Method summary
size
:Point
The size of the Rectangle object, expressed as a Point
object with the values of the
width
and
height
properties.
top
:Number
The
y
coordinate of the top-left corner of the
rectangle.
topLeft
:Point
The location of the Rectangle object's top-left corner
determined by the
x
and
y
values of the point.
width
:Number
The width of the rectangle in pixels.
x
:Number
The
x
coordinate of the top-left corner of the
rectangle.
y
:Number
The
y
coordinate of the top-left corner of the
rectangle.
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Signature
Description
Rectangle
(x:Number,
y:Number,
width:Number,
height:Number)
Creates a new Rectangle object whose top-left corner is specified by
the
x
and
y
parameters.
Modifiers
Signature
Description
clone
() : Rectangle
Returns a new Rectangle object with the same values
for the
x
,
y
,
width
, and
height
properties as the
original Rectangle object.
contains
(x:Number,
y:Number) : Boolean
Determines whether the specified point is contained
within the rectangular region defined by this
Rectangle object.
containsPoint
(pt:Poi
nt) : Boolean
Determines whether the specified point is contained
within the rectangular region defined by this
Rectangle object.
Modifiers
Property
Description
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...