EaselJS

EaselJS  0.5.0

EaselJS > EaselJS > Point
Search:
 
Filters

Class Point

Represents a point on a 2 dimensional x / y coordinate system.

Constructor

Point ( x , y )
Parameters:
x <Number> X position. Default is 0.
y <Number> Y position. Default is 0.

Properties

x - Number

X position.

y - Number

Y position.

Methods

clone

Point clone ( )
Returns a clone of the Point instance.
Returns: Point
a clone of the Point instance.

initialize

protected void initialize ( )
Initialization method.
Returns: void

toString

String toString ( )
Returns a string representation of this object.
Returns: String
a string representation of the instance.