EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Page 1010

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...
1010 ActionScript classes
Properties inherited from class Object
Constructor summary
Method summary
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Signature Description
Point(x:Number,
y:Number)
Creates a new point.
Modifiers Signature Description
add(v:Point) : Point Adds the coordinates of another point to the
coordinates of this point to create a new point.
clone() : Point Creates a copy of this Point object.
static distance(pt1:Point,
pt2:Point) : Number
Returns the distance between pt1 and pt2.
equals(toCompare:Obj
ect) : Boolean
Determines whether two points are equal.
static interpolate(pt1:Poin
t, pt2:Point,
f:Number) : Point
Determines a point between two specified points.
normalize(length:Num
ber) : Void
Scales the line segment between (0,0) and the
current point to a set length.
offset(dx:Number,
dy:Number) : Void
Offsets the Point object by the specified amount.
static polar(len:Number,
angle:Number) :
Point
Converts a pair of polar coordinates to a cartesian
point coordinate.
subtract(v:Point) :
Point
Subtracts the coordinates of another point from the
coordinates of this point to create a new point.
toString() : String Returns a string that contains the values of the x and y
coordinates.

Table of Contents

Related product manuals