EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Page 1031

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals