Specifications

Number Construction
Numbers are not normally constructed, but instead created by simple assignment, example:
var x = 3.142;
Number Properties
The maximum value for floating point values.
MAX_VALUE : Number
The minimum value for floating point values.
MIN_VALUE : Number
Number Functions
Returns the number as a string value.
toString( ) : String
Object
Object is the base type for all JavaScript objects.
Object provides a toString() function which is usually overridden by subclasses.
Point
A Point object represents a two-dimensional point.
Point Construction
The Point class provides three different constructors.
var point = new Point( 20, 30 );
var duplicate = new Point( point ); // 20, 30
var zero = new Point(); // 0, 0
Point Properties
The x position of the point.
x : Number
The y position of the point.
y : Number
Rect
A Rect object represents a rectangle.
Rect Construction
The rectangle class provides three constructors.
var rect = new Rect( 10, 20, 30, 40 ); // x=10, y=20, width=30, height=40
var duplicate = new Rect( rect ); // x=10, y=20, width=30, height=40
var empty = new Rect(); // x=0, y=0, width=0, height=0
Rect Properties
The left position of the rectangle.
x : Number
The right position of the rectangle.
y : Number
The width of the rectangle.
width : Number
379
Enfocus Switch 10