Class Index | File Index

Classes


Class Point

Represents a point with x / y coordinates.
Defined in: Point.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Point(x, y)
Constructs a new Point instance.
Field Summary
Field Attributes Field Name and Description
 
x
X position.
 
y
Y position.
Method Summary
Method Attributes Method Name and Description
 
Returns a clone of this Point.
 
Returns a string representation of this object.
Class Detail
Point(x, y)
Constructs a new Point instance.
Parameters:
x
X position. Default is 0.
y
Y position. Default is 0.
Field Detail
x
X position.

y
Y position.
Method Detail
clone()
Returns a clone of this Point.

toString()
Returns a string representation of this object.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Feb 07 2011 16:51:57 GMT-0700 (MST)